1. #1
    Sencha User
    Join Date
    Dec 2011
    Posts
    4
    Vote Rating
    0
    pinid is on a distinguished road

      0  

    Default Unanswered: Ext js 4 question regarding performance(minifying)

    Unanswered: Ext js 4 question regarding performance(minifying)


    Hi all,
    I want to perform the following task (as it been proven in other applications I implemented to really get better performance)

    1. Combine in the server side all the js files I need for the current page.
    2. Minify it.
    3. Inject a single js refrence to the page using <script> tag.

    This way i will be able to save all the douzens of js requests to the server.
    How do i perform this in Ext js, Since as far as I know each require statment or each first time loading will look for the file in the app/somedir/ structure.

    Pini

  2. #2
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Answers
    83
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

    Default


    Use SDK tools to minify and bundle your classfiles. Load this package.

    And read this about loading. http://docs.sencha.com/ext-js/4-0/#!/api/Ext.Loader

    I think simply load all your classes at once. Do not use thing as require and stuff.

  3. #3
    Sencha User
    Join Date
    Dec 2011
    Posts
    4
    Vote Rating
    0
    pinid is on a distinguished road

      0  

    Default Can you specify which tool?

    Can you specify which tool?


    Can you specify which tool?

  4. #4
    Ext JS Premium Member tvanzoelen's Avatar
    Join Date
    Apr 2008
    Location
    Groningen - Netherlands
    Posts
    1,114
    Answers
    83
    Vote Rating
    30
    tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about tvanzoelen has a spectacular aura about

      0  

  5. #5
    Sencha User
    Join Date
    Dec 2011
    Posts
    4
    Vote Rating
    0
    pinid is on a distinguished road

      0  

    Default Thanks

    Thanks


    Thanks

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi