How to enable automatic gzip compression for all .js .html ? Thanks -- Posted via http://www.ruby-forum.com/.
depends on the server (webrick / lighttpd / apache / etc.) ... this is how lighttpd (http://www.lighttpd.net) does it: http://www.lighttpd.net/documentation/compress.html> --- Urspr?ngliche Nachricht --- > Von: biji <superbiji@gmail.com> > An: rails@lists.rubyonrails.org > Betreff: [Rails] Gzip compression > Datum: Sat, 4 Mar 2006 05:31:36 +0100 > > How to enable automatic gzip compression for all .js .html ? > > > Thanks > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
biji > How to enable automatic gzip compression for all .js .html ? google (rails filter gzip) http://blog.craz8.com/articles/2005/12/17/rails-outputcompressionfilter http://wiki.rubyonrails.org/rails/pages/Output+Compression+Plugin (warning: I''ve never used those techniques) Alain
Peter Ertl wrote:> depends on the server (webrick / lighttpd / apache / etc.) ... >Thanks, I''m using apache, and enabled mod_deflate. I think this feature should be included in rails for those who don''t have access to webserver. -- Posted via http://www.ruby-forum.com/.