If you have a Magento project, you need to enable Gzip compression to speed it up.

First of all make sure you have the mod_deflate module enabled on Apache. You can check it running a phpinfo() script.

Once you get it enable, add the following code to you .htaccess:

To test if it worked out, you can use https://testmysite.thinkwithgoogle.com/

Leave a comment