Home | Mail | Syndicate

welcome to my space

12 March, 2010 |

ext-all.js very heavy (492KB), it spends much time for loading itself.

  • Hi everybody,

    I have a page in a internal frame of an application web. This page is loaded many times from diferent links ubicated in a lateral frame. The problem is that each time this page is loaded, it loads the ext-all.js file which has a weight of 492KB, delaying always the loading of the page; however this file is saved in catch , each time the page must read this heavy file.

    Someone has a solution to this problema? thanks.


  • Did i say something correct :s


  • There are also a number of threads here regarding compression, caching, gzip, etc - try searching.


  • Well there is supposed to be a builder for Ext. But I am not aware if it is released. (Need answer from Ext team here). The reduction in size can be done. But the resultant file will be anywhere from 150K minimun to 530K (You did not consider ext-base which is another 30K) depending on what all you are using in your. If you are using a gridpanel and a tree and the html editor dont even think of reducing the size.


  • :) Sometimes the obivious escapes us. I didn't want the point it out as I was just lazy. I'm glad someone did. :D


  • I think you need to tell more about your application on how and why it works that way.


  • The problem is that I am using complex components like gridpanel, tree and the html editor, therefore, reducing the size of the file wouldn't solve my problem. I was trying to access the js loaded in the lateral frames (because these are loaded only one time ), from the internal frame.

    I wrote a code like this:



    but, it didn't solve my problem.

    I have also used the js builder, but it doesn't resolve my problem.

    some new ideas?


  • it's the price you pay for such a rich framework.


  • Someone has a solution to this problema? thanks.

    Have you tried the following:
    1. Configure your HTTP server so it sends headers with caching info.
    2. Configure your HTTP server so it gzips files (this one really helps!).
    3. Remove the ExtJS parts you don't need (use JS Builder).


  • Let me get this straight - You have your Ext App running via an IFrame, this is then causing your clients to re-download the ExtJS each time the IFrame loads a new page?

    If this is you're problem, then its not down to ExtJS but the way you have created your application - running ExtJS elements via and IFrame is a bad idea and will cause page loads like you experience.
    http://ui20.gamespot.com/1523/image002_4.gif

    =D>


  • Well there is supposed to be a builder for Ext. But I am not aware if it is released. (Need answer from Ext team here). The reduction in size can be done. But the resultant file will be anywhere from 150K minimun to 530K (You did not consider ext-base which is another 30K) depending on what all you are using in your. If you are using a gridpanel and a tree and the html editor dont even think of reducing the size.

    The SVN builder can be found here (http://extjs.com/forum/showthread.php?t=15191).


  • Let me get this straight - You have your Ext App running via an IFrame, this is then causing your clients to re-download the ExtJS each time the IFrame loads a new page?

    If this is you're problem, then its not down to ExtJS but the way you have created your application - running ExtJS elements via and IFrame is a bad idea and will cause page loads like you experience.







  • #If you have any other info about this subject , Please add it free.#
    Your name:
    E-mail:
    Telphone:

    Your comments:


    If you have any other info about ext-all.js very heavy (492KB), it spends much time for loading itself. , Please add it free.
    PNNL, SGI Think Big Danes Launch Europe's First 24-Hour Internet TV Station