| [reply] [Watch: Dir/Any] |
Don't most web servers send compressed data anyway? Whenever I request a .js file, its often served as a gzip. That's just automatic.
| [reply] [Watch: Dir/Any] |
Yes, most can do, but a lot of people don't (or don't know how to) set it up.
The gzip'ing is just part of the benefit. The other part is that you reduce maybe 6+ separate requests into one, and that it adds an Expires: header which essentially means that people will never need to download the javascript more than once per session.
I can't take any credit for the idea - I just took what existed in PHP and rewrote it for use on a Perl platform.
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] |
| [reply] [Watch: Dir/Any] [d/l] |