> Of all the suggestions thus far I think the one that makes the most sense is > a Rack middleware (or even further out on Apache/Nginx/etc). That watches > for the request to expect compressed results and does the compression > removing the extension on the way in and re-applying it on the way out. Not > involving Rails at all.
Yes, we call this deflate: http://httpd.apache.org/docs/2.2/mod/mod_deflate.html http://apidock.com/rails/Rack/Deflater/deflate/class This thread isn't really about zipping, it's about multiple extensions. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-core?hl=en.
