Compression support for Adonis #1664
crrmacarse
started this conversation in
General
Replies: 2 comments 2 replies
-
Hey @crrmacarse! 👋 This is not the job of your AdonisJS application. I recommend you to read some documentation on the same. ▶ https://docs.nginx.com/nginx/admin-guide/web-server/compression/ |
Beta Was this translation helpful? Give feedback.
1 reply
-
Yeah, I agree folks not using Nginx or any other proxy server may find it useful. I believe, it is just a matter of having a compression middleware. Anyone including you can contribute to the ecosystem by creating the middleware. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Something like compression(https://www.npmjs.com/package/compression) of express. Is this achievable on adonis?
If someone could give me an idea of how to approach this that'll be really great. We're riddled with 1MB+ of frontend assets on the first-page load and I'm really eager on minimizing it.
Beta Was this translation helpful? Give feedback.
All reactions