PDA

View Full Version : File Sizes??



ReyBango
13 Jun 2007, 6:00 PM
I was looking at this example:

http://extjs.com/deploy/ext-1.1-beta1/examples/form/dynamic.html

and noticed that both ext-base.js and ext-all.js are both substantially smaller than what's in the download for Ext 1.1 beta 1. Ext-base.js is about 12k and Ext-All.js is about 128k. I tried using Dean Edward's packer but couldn't get near those sizes. Are they gzipped?

Rey

efege
13 Jun 2007, 6:59 PM
Firebug is showing these response headers for http://extjs.com/deploy/ext-1.1-beta1/ext-all.js:


Age: 309
Transfer-Encoding: chunked
Date: Thu, 14 Jun 2007 02:51:10 GMT
Content-Type: text/javascript;
Expires: Sun, 11 Jun 2017 02:51:10 GMT
Cache-Control: max-age=315360000, must-revalidate
Content-Encoding: gzip
Server: Apache/2.0.52 (Red Hat)
X-Powered-By: PHP/5.2.1
Vary: Accept-Encoding

So the answer seems to be: YES :)

ReyBango
14 Jun 2007, 4:29 AM
Great catch efege! I didn't know I could use FireBug to see that! :)

Rey...