pattern promo banner arrows
store logo
Join 1 million+ sellers & claim your .store domain now!
BUY NOW
100% Australian Owned and OperatedSupport Centre13 24 85Pay an InvoiceLOG IN
supportcentre scaled
Support Centre
Find the answers to your questions and get the support you need with the VentraIP help centre.

Optimize your website using gzip file compression

What is gzip compression?

Compression makes your files smaller, which in turn helps your website load faster.

That was very brief, right? We could have written a longer explanation – you could say that’s what compression looks like.

Using cPanel’s Optimize Website tool

  1. Log in to your cPanel hosting service.
  2. Click the icon for Optimize Website, found under the Software header.
  3. Change the radio button from Disabled to Compress All Content.
    • Alternatively, you can specify the only MIME types you would like to compress. You can find the names of these MIME types in ‘Alternative method’ the code below.
  4. Click Update Settings to finalise the changes.

Alternative method – editing the .htaccess file

Alternatively, if you are familiar with your .htaccess file and would like to manually enter the code, you can use the following to identify the code needed for each MIME type, as well as the opening and closing tags.

<IfModule mod_deflate.c> AddOutputFilterByType DEFLATE text/css AddOutputFilterByType DEFLATE text/html AddOutputFilterByType DEFLATE text/plain AddOutputFilterByType DEFLATE text/xml AddOutputFilterByType DEFLATE application/xml AddOutputFilterByType DEFLATE application/xhtml+xml AddOutputFilterByType DEFLATE application/rss+xml AddOutputFilterByType DEFLATE application/javascript AddOutputFilterByType DEFLATE application/x-javascript AddOutputFilterByType DEFLATE application/vnd.ms-fontobject AddOutputFilterByType DEFLATE application/x-font AddOutputFilterByType DEFLATE application/x-font-opentype AddOutputFilterByType DEFLATE application/x-font-otf AddOutputFilterByType DEFLATE application/x-font-truetype AddOutputFilterByType DEFLATE image/jpeg AddOutputFilterByType DEFLATE image/png AddOutputFilterByType DEFLATE image/gif AddOutputFilterByType DEFLATE image/bmp AddOutputFilterByType DEFLATE image/jpeg, AddOutputFilterByType DEFLATE image/svg+xml AddOutputFilterByType DEFLATE image/x-icon AddOutputFilterByType DEFLATE audio/mpeg AddOutputFilterByType DEFLATE audio/* AddOutputFilterByType DEFLATE video/mp4 </IfModule>

misc content center scaled