Optimize Website (gzip compression)

We have added an option to our cPanel designed to help you Optimize Website.

To optimize your website login into your cPanel account then Software/Services > Optimize Website
 
Optimize Website
Once you have clicked on Optimize Website you will go to the next step and you will notice that the option is disabled
 
Optimize Website
Here you have 2 options Compress al content and Compress the specified MIME types.
Select the option you desire.
Optimize Website
Once you have selected the option of compression click Update Settings
 
Optimize Website
All done, now you can enjoy the optimization and increased speed in your site.
 

Cache static content

On some statistics sites you will receive messages that you need to Cache Static Content.

The easiest way is to do it by .htaccess
 
Just add the following lines in your .htaccess root file:
FileETag MTime Size
<IfModule mod_expires.c>
  # Enable expirations.
  ExpiresActive On
  # Cache all files for 2 weeks after access (A).
  ExpiresDefault A1209600
  <FilesMatch \.php$>
    # Do not allow PHP scripts to be cached unless they explicitly send cache
    # headers themselves. Otherwise all scripts would have to overwrite the
    # headers set by mod_expires if they want another caching behavior.
    ExpiresActive Off
  </FilesMatch>
</IfModule>