Enable Gzip in Amazon Linux

To verify Apache module is loaded, run

Create file

Add following content

Restart Apache with

To verify gzip is working, run

You will see something like

NOTE: gzip compression only works if you have a reasonably large file. If your file is very small, then gzip won’t do anything.

See gzip

Need help with Linux Server or WordPress? We can help!

Leave a Reply

Your email address will not be published. Required fields are marked *