-
-
Notifications
You must be signed in to change notification settings - Fork 10.6k
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
Support for gzip compression #1305
Comments
I think this should be handled by nginx (HttpGzipModule) or any other webserver that you put in front of Ghost. |
We removed gzip compression as the express middleware had an issue with it. It's something we will look into adding again in future. |
Thank you both, I will do some testing on my end, if I get it running with no hassle I will post a step-by-step for the community. J |
please keep us updated on this since it would be a cool feature to have |
I think it would be good to look at reenabling the express middleware for this, perhaps as an option which is enabled by default but can be disabled via config? |
@ErisDS I had added gzip to my production install, just needed to make it configurable. Let me know what you think. |
This is nowhere urgent, but it would be cool to enable gzip compression to serve the assets of Ghost.
I am not super familiar with the codebase yet, but it seems you are using express. If so, then you could use its compress method as part of the configuration.
http://expressjs.com/api.html#compress
The text was updated successfully, but these errors were encountered: