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

Add command line option to serve gzip files #132

Open
yuri-karadzhov opened this issue Sep 24, 2014 · 2 comments
Open

Add command line option to serve gzip files #132

yuri-karadzhov opened this issue Sep 24, 2014 · 2 comments

Comments

@yuri-karadzhov
Copy link

It would be helpful to have a command line option which do the same as { gzip: true }

@doot0
Copy link

doot0 commented Oct 15, 2014

Running static -h lists --gzip as the argument for this.

However, it doesn't seem to actually do anything, at least for me.

@voltrevo
Copy link

Works for me, except you need to have the uncompressed file available too:
#143

(As mentioned on the issue, you can put an empty file in for the uncompressed version, which is also an easy way to confirm the gzip mode is actually working.)

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

3 participants