I have a Rails application served via dispatch.fcgi and I tried to turn compression on with the standard line
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?