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!
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---