send a gzipped index.html if a directory is requested #12

obazoud opened this Issue Oct 18, 2011 · 1 comment


None yet
2 participants

obazoud commented Oct 18, 2011

When I use express + gzippo, is compressed but not
As I can see in source, if filename is a directory, you delegate it to express.
I think that it should be interesting to try to send index.html, it if exists, and gzip it.
Let me know what you think.


tomgco commented Nov 21, 2011

This is because gzippo doesn't support streaming files only static content files. This is being worked into a new version of connect which express is based on.

tomgco closed this Nov 21, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment