On May 20, 2006, at 10:04 AM, Roberto Saccon wrote:

> and it worked, but (so far) only compressed HTML files and no  
> javascript or CSS files (Browser: Firefox 1.5.3)

So that's because of

# Deflate
   AddOutputFilterByType DEFLATE text/html text/plain text/xml

With mod_deflate you have two options: compress everything by default  
and exclude what you don't want to run through (like .gif), or  
compress nothing by default and include the mime types you want to  
compress.

I call this implicit (these are the "Set" commands) or explicit  
(these are the "Add" commands) compression.

Bradley's config is explicit because it lists the mime-types.

I put a complete config example at http://textsnippets.com/posts/show/ 
486

- J
_______________________________________________
Mongrel-users mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to