Enabling gzip compression compresses your website content into gzip files before sending them to your visitor’s browser. It can significantly improve the performance of your website and provide a better experience to your visitors.
We enable Gzip compression by default on all DomainsFoundry shared-hosting plans with cPanel.
Mod_deflate (also known as mod_gzip) can reduce the data used to send files by up to 90%, significantly reducing the amount of time required to download your web pages. As the files are smaller it uses less bandwidth and means your mobile visitors will use less of their mobile data allowance.
Mod_deflate is available on all DomainsFoundry shared-hosting.
How to enable mod_deflate cPanel
- Log in to your cPanel.
- Go to the Software section and click Optimize Website.
- Select Compress the specified MIME types.
- Copy and paste the following into MIME Types:
application/atom+xml application/javascript application/json application/ld+json application/manifest+json application/rdf+xml application/rss+xml application/schema+json application/geo+json application/vnd.ms-fontobject application/wasm application/x-font-ttf application/x-javascript application/x-web-app-manifest+json application/xhtml+xml application/xml font/eot font/opentype font/otf font/ttf image/bmp image/svg+xml image/vnd.microsoft.icon text/cache-manifest text/calendar text/css text/html text/javascript text/plain text/markdown text/vcard text/vnd.rim.location.xloc text/vtt text/x-component text/x-cross-domain-policy text/xml
- Click Update Settings.
How to disable mod_deflate in cPanel
- Login to DomainsFoundry cPanel.
- Click Optimize Websites.
- Select Disabled.
- Click Update Settings.
The Optimize Website setting applies to all websites on your cPanel account.