Compression of rails generated content?

0 views
Skip to first unread message

Steve Bergman

unread,
Aug 24, 2006, 11:05:57 AM8/24/06
to rubyonra...@googlegroups.com
I'm a big believer in mod_compress to make my applications more
responsive over wan connections. I notice that in config/lighttpd.conf
mod_compress is loaded. But the http headers do not show my app's
content to be compressed? What do I need to do to gzip compress my
Rails generated content?

Thanks,
Steve Bergman

--
Posted via http://www.ruby-forum.com/.

Jeremy Evans

unread,
Aug 24, 2006, 12:31:31 PM8/24/06
to rubyonra...@googlegroups.com
On 8/24/06, Steve Bergman <rails-mai...@andreas-s.net> wrote:
>
> I'm a big believer in mod_compress to make my applications more
> responsive over wan connections. I notice that in config/lighttpd.conf
> mod_compress is loaded. But the http headers do not show my app's
> content to be compressed? What do I need to do to gzip compress my
> Rails generated content?

Plugins:

http://wiki.rubyonrails.com/rails/pages/Output+Compression+Plugin
http://wiki.rubyonrails.com/rails/pages/Better+Output+Compression+Plugin

I recommend the former, but I'm probably biased.

Steve Bergman

unread,
Aug 24, 2006, 1:34:46 PM8/24/06
to rubyonra...@googlegroups.com
Jeremy Evans wrote:

The former is plugged in and apparently working. My users and I thank
you. At least they will when I get this project finished and deployed.
:-)

-Steve

Reply all
Reply to author
Forward
0 new messages