jesusabdullah/node-ecstatic — Issue #35: Feature request: gzip support
Author: ryanfitz
Created: 2012-03-07 00:27:32+00:00
State: open

I want to use ecstatic for a project which helps build client side apps. Part of this project gzip's assets, however, ecstatic doesn't currently check the Accept-Encoding header to see if the client accepts gzip/compressed resources.

ecstatic shouldn't attempt to gzip anything on the fly, but rather if the client accepts compressed resources and a file.ext.gz exists then serve that, if not serve the file.ext if it exists.

Id be happy to work on a pull request if you agree with having this feature.