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

Sending .gz files requires the uncompressed file to exist too #143

Open
voltrevo opened this issue Dec 15, 2014 · 0 comments
Open

Sending .gz files requires the uncompressed file to exist too #143

voltrevo opened this issue Dec 15, 2014 · 0 comments

Comments

@voltrevo
Copy link

If I have a browser which supports gzip and I launch node-static with --gzip, and index.html.gz is available, it still won't work unless the regular index.html is available too.

Is this intentional? I'd like to only have the zipped files on the server, and not their uncompressed counterparts.

A possible workaround right now is to provide an empty file on disk as a stand-in for the uncompressed document, but that's pretty hacktastic.

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

1 participant