Home Guides Glossary

Enabling mod_Deflate with Your Hosting Account

Mod_deflate is an Apache Web server module installed on all of our Linux hosting accounts by default. For more information, see What is mod_deflate?

Mod_deflate compresses content returned from your hosting account using the gzip compression algorithm. You should only use mod_deflate on text, such as HTML, CSS, JavaScript, and XML. Multimedia files are often already compressed; using mod_deflate on these types of files does nothing and can result in slower page-load times.

If you want to use mod_deflate, you need to know what kind of hosting account you have. For more information, see What type of hosting account do I have?

Web Hosting

Our Linux Web Hosting hosting accounts have mod_deflate enabled by default. This compresses all text type files requested from it. You can disable mod_deflate on a per-directory basis and it applies recursively. You can place the following in a .htaccess file to disable mod_deflate:

SetEnvIf Request_URI .* no-gzip=1


Our Classic Hosting accounts do not enable mod_deflate at the global level, but you can enable it in your .htaccess file. You can enable it on a per-directory basis and it applies recursively. You can place the following in a .htaccess file to enable mod_deflate for text and javascript MIME types:

AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript

For more information, see:

Domain Registration

Pay less for website domain names. Register your own .com, .net or .org for as low as $10.18 per year. We have everything you need to get online with your new domain.

Website Builder

For as little as $3.89 per month you can build your Website online with Website Builder using our easy to use professional templates. Play Video - Demo

Quick Shopping Cart

Build and run your own successful online store in minutes. You're just five easy steps away! Shopping Cart works with Google® and eBay® Play Video

cPanel Hosting

Everything needed to give your website the high-performance home it deserves.  Protect transactions and secure your customer's data with a SSL Certificate

Copyright © 2005 - 2022. All rights reserved. Privacy Policy