-
Notifications
You must be signed in to change notification settings - Fork 92
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
How can I enable Gzip in Fastify-static #45
Comments
Use |
I am using the same but on browser request end is not being set properly. Request response time on browser shows 5s but in trace logs of fastify it show request completed within few ms. PS I am not using any proxy to run this test. and if I remove compression response time is as expected. |
Can you upload an example to reproduce? Thanks. |
If anyone stumbles upon this as I did... you need to register the
Otherwise responses of static files won't be compressed. |
No description provided.
The text was updated successfully, but these errors were encountered: