mod_deflate not working
Posted by: fxn
Posted on: 2007-01-05 18:50:00
I have a Rails application served via dispatch.fcgi and I tried to turn compression on with the standard line
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css application/x-javascript
in .htaccess. Static content goes compressed just fine, but dynamic content is not. According to the headers Content-Length is missing in dynamic calls,
wget -S --header="Accept-Encoding: gzip" http://www.hashref.com/
says Length: unspecified. I wonder whether the lack of a Content-Length header is the culprit. Any idea?