Skip to content


Subversion checkout URL

You can clone with
Download ZIP


Serving gzipped assets from Rack::Static #478

jbaudanza opened this Issue · 2 comments

2 participants


I am working on a pull request for ActionDispatch::Static that will allow it to serve up the gzipped assets that are generated by Sprockets.


It's been suggested that this functionality might be better placed in Rack::Static instead. In this scenario, ActionDispatch::Static would be factored down to a small shim around Rack::Static

What do you guys think? This seems like functionality that would be useful to anyone serving static assets from Rack, not just with Rails.


Yup' a PR for that would be appreciated, although see if you can do it with or by extending the rules system that was just added in master. I'd love to try and keep static relatively simple, lest we end up having half a file server in an interfacing library :-)


pull request attached here #479

@jbaudanza jbaudanza closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.