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

Gzip compression #50

Closed
bensleveritt opened this issue Feb 14, 2017 · 2 comments
Closed

Gzip compression #50

bensleveritt opened this issue Feb 14, 2017 · 2 comments

Comments

@bensleveritt
Copy link

Is there any way to turn Gzip on? I'm using pushstate-server cli to test final build sizes for a react app, and it'd be good to know if gzipping will help reduce the sizes significantly.

@scottcorgan
Copy link
Owner

There is a default compression set to gzip your responses https://github.com/scottcorgan/pushstate-server/blob/master/index.js#L25.

Is there something that indicates otherwise?

@bensleveritt
Copy link
Author

Ah, I'm sorry. It's a misunderstanding on my part. I was looking at Woff/Woff2 files and of course they're already compressed.

Nevermind.

(Thanks for the quick response tho)

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