Articles in this section

How to enable gzip compression for a website on Linux

DoNotDelete:docref kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • Plesk for Linux

Question

How to enable gzip compression for a website on Linux?

Answer

This depends on the web server being used.

How to enable gzip compression on nginx on Plesk server

How to enable gzip compression in Apache on Plesk server

Additionally, since  Plesk Obsidian 18.0.33 Brotli compression is enabled by default, from the box.

Note: Brotli compression is typically used as an alternative to gzip, because it provides better overall compression.[1] In comparison with gzip compression, JavaScript files compressed with Brotli are approximately 15% smaller, HTML files are around 20% smaller, and CSS files are around 16% smaller.[2]

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.