How to enable Mod_Gzip

Mod_Gzip is an external extension module for Apache 1.3 web servers implemented to help with size reduction of web pages served over HTTP. The alternative of mod_gzip for Apache 2 is called mod_deflate and it is enabled on all Hostlantern shared servers.

You can enable mod_deflate for your website directly from your cPanel > Optimize Website, or by adding the following lines to your .htaccess file:

 

 

If you are still running an Apache 1.3 web server and you have mod_gzip installed and loaded in Apache's configuration, you can enable it by adding the following options in an .htaccess file for your hosting account:

 

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

Leverage Browser Caching for Images, CSS and JS

To leverage your browser's caching generally means that you can specify how long browsers should...

Enable gZIP via .htaccess

To enable gZIP for your text, html, JavaScript, CSS and XML add these files to your .htaccess:...

Last-modified Header Explained

The last-modified header is an HTTP header that tells your browser when was the last time the...

How to change my document root folder using an .htaccess file?

By default your website is loaded from the public_html folder of your account. The public_html...

How to change the default umask for Apache/Php

Apache/Php umask determines the permissions for the newly created files. On a VPS / Dedicated...