PDA

View Full Version : How To switch Development System to Production System



extjs_mahendra
21 Dec 2009, 8:54 PM
hi

i want to switch Development system to Production System
becoze on server it take long time to load Project.
it takes long time load all Js file
Please help me

vahid4134
22 Dec 2009, 2:59 AM
You can gzip js files

extjs_mahendra
22 Dec 2009, 4:10 AM
how to convert js file into gzip file?

please give me any example....

22 Dec 2009, 5:47 AM
you can minify and setup gzip on your web server.

I suggest you look up YUI compressor and how to configure gzip compression on whatever webserver you're using.

This issue is not specific to Ext JS

Animal
22 Dec 2009, 8:47 AM
Concatenate all your JS files into one file (in the correct order), then process that with yuicompressor.

Include that in your production page, and ensure that you tell your server to GZIP it.