Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Option to prefer gz files. #112

Closed
DylanPiercey opened this issue Jun 26, 2016 · 2 comments
Closed

Option to prefer gz files. #112

DylanPiercey opened this issue Jun 26, 2016 · 2 comments

Comments

@DylanPiercey
Copy link

Coming from https://github.com/cloudhead/node-static, they have a "gzip" option that when enabled will automatically serve any .gz files in a directory and fallback to un gzipped variants.

Would it be possible to add a similar option here? I understand that a compression middleware would be most effective in many cases but it would be a handy option to have.

@dougwilson
Copy link
Contributor

Are you referring to the progress going on in pull request #108 ?

@DylanPiercey
Copy link
Author

@dougwilson looks spot on. Thanks for pointing this out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants