PDA

View Full Version : Size of application Source files..



deccard
10 Jul 2009, 12:44 AM
I'm just curious - I'm working on a small aplication, all in one js file, currently its only 55k. I'm curious though as to the size of other developers application files [those on top of the ext files] - for the ones that are more or less in a single download. Are there, for example, Ext applications out there that are in JS files that are megs in size and over say 10,000 lines+ of code?

Does anyone know if its adviseable to have js files this large? - I plan for my application to grow into a substantial size and planning for this now, rather than later would be helpful.

Thanks.

Condor
10 Jul 2009, 12:58 AM
The Ext library itself is already well over 30.000 lines of code!

But you do know that you should:
1. Concatenate all your javascript files
2. Minify the javascript and css file
3. Gzip the html, javascript and css files

Using this the Ext library can be reduced to about 7% of its original size.