I’m trying to compress javascript files using apache’s deflate. Here is
my
config:
AddOutputFilterByType DEFLATE text/html text/xml text/plain text/css
application/x-javascript text/javascript;
BrowserMatch ^Mozilla/4 gzip-only-text/html
BrowserMatch ^Mozilla/4.0[678] no-gzip
BrowserMatch \bMSIE !no-gzip !gzip-only-text/html
When I load the page I look in firebug and /prototype.js?1204654418 is
76kb.
If I open that same file by itself and remove the ?1204… it’s only
22kb
What is the point of the ?23847 and am I right to assume that it is
effecting the deflate rules?
Also, I came across this line but adding it doesn’t seem to help:
RewriteRule “^/(images|stylesheets|flash|javascripts)/?(.*)” “$0” [L]
Thanks!