Mod_deflate not working

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?

I get the Content-Length header now after a Rails update, but dynamic content is still not being compressed by Apache. Why?

Maybe it has something to do how modules are loaded, or configured.

Probably it’s better to ask tech support about that.

...* I’d be happier if DH had free shared SSL and redundant server setup. ..*.