Extjs, is it possible to download compres ext-all.js?

Sorry if my English is bad, English is not my native language

I have a website that uses the extjs library. Exactly I just need a grid, ajax, and tree component.
My project is used at the national level, and to avoid problems due to the low bandwidth in some regions, I have to make it as easy as possible.

When I use the developer tools in chrome, my site is too heavy. Especially when loading ext-all.js. Downloading takes 3.9 minutes (@ 512 kbps) (even when I delete my own images and css from the website).

Is there any way to compress it? Or just load the tree, grid and ajax components?
I was googling .. and I got it

<script type="text/javascript" src="js/ext-all.js?compression=gzip"></script> 

but it didn’t help much.

+2
javascript extjs
Feb 20 '11 at 7:12
source share
2 answers

This is a page that shows how to create custom versions of ext-js. http://www.sencha.com/learn/Tutorial:Building_Ext_From_Source

They had a link to an online constructor that would configure the download, but was removed. The referenced link still points to good resources such as JsBuilder , the tool they use to generate ext-all.js and other packages in the distribution. Just open the ext.jsb file to see how it works.

JS Builder Screen Shot

You need to find out your addictions, though, good luck!

+4
Feb 20 '11 at 9:23
source share

I would estimate that at 512k the extjs load should be around 30s - 1 minute.

If you look at the 4-minute download time, your time is probably spent somewhere other than loading the library. Are you sure this is the size of your download or even extjs, which is the problem? Maybe your web server is under heavy load or are you dealing with a latency problem?

As for reducing the size of the library, you can do much more. The library is provided in a miniature format, and its removal is not recommended. Fixing it only means that you have to unzip it on the other end after loading and don’t buy you so much loading time with a library that is already very small.

+1
Feb 20 2018-11-11T00:
source share



All Articles