Question: how to enable gzip compression on apache?
Answer: Configure Gzip Compression Now edit your apache configuration and add the extensions you want to compress. Add the following configuration in Apache Virtual Host to enable gzip compression for your website. You can also add this code in website's . htaccess file in the site root.