I’m running an application written in Ruby using mod_ruby wtih Apache,
the application is pretty fast and responsive but output compression
via mod_deflate may help to bring even more speed and save bandwidth.
The problem is that it appears to be very hard to make mod_ruby and
mod_deflate to play well together.
This is my simple mod_deflate configuration:AddOutputFilterByType DEFLATE text/html text/plain text/xml
Indeed I’m generating text/html from mod_ruby.
Still it does not compress at all, while in the same box
output from PHP scripts are compressed without problems.
I tried to load the deflate module as last module but still
it does not work.
Somebody aware of the black magic required to make this working?
Thank you very much for your help,