snapCloud
snapCloud copied to clipboard
Enable gzip in nginx
took a swing at #51, untested
Two knobs to consider adjusting:
gzip_min_length- recommendations can range from (256, 500, 1024) bytes.gzip_comp_level- set at 6, but not sure this is even worth setting explicitly (default is is1)
Sources:
- https://gist.github.com/v0lkan/90fcb83c86918732b894
- https://www.digitalocean.com/community/tutorials/how-to-improve-website-performance-using-gzip-and-nginx-on-ubuntu-20-04
- https://ubiq.co/tech-blog/how-to-enable-nginx-gzip-compression/
Thank you for your contribution. However, I am a bit hesitant to spend time testing this when you explicitly say you haven't tested it yourself :)
Any chance you can try your code first, and get back to us?
Thanks!