Tutorials • cPanel

Website optimization from the cPanel control panel using mod_deflate

This article describes the steps necessary for optimizing the website using the Optimize Website menu in cPanel.

2
Views 1670Updated 1 anPublished on 06/10/2017by Sebastian S.

Introduction

  • cPanel allows optimization of data transfer between the server and the website visitor using the Apache mod_deflate module. This module compresses the data before it is sent, using gzip.
  • Enabling mod_deflate helps increase the loading speed of the site and reduces bandwidth consumption.
  • The module can be activated either manually, by adding rules to the .htaccess file, or automatically through the cPanel administration panel. This tutorial presents the activation method via cPanel.

Requirements

  • Access to the cPanel administration panel using the login credentials received via email.

Steps

  • Log in to the cPanel control panel using your access credentials.

Logare cPanel

  • After logging in, navigate to the Software section and click on Optimize Website.

Optimizare website

  • On the next page, select the desired option to enable mod_deflate:
    • Disabled: The module is disabled; no compression is applied.
    • Compress All Content: The module is enabled and compresses all types of files, including .js, .css, .html, .xml, .txt, etc.
    • Compress the specified MIME types: The module is activated and compresses only the specified files. Enter the file types (MIME types) in the MIME Types field, in the format:
      • text/html for HTML files.
      • text/plain for text files.
      • text/xml for XML files.
      A complete list of MIME types can be found here . Separate the values with spaces, for example: text/html text/plain text/xml.
  • After you have selected the desired option, click on Update Settings to apply the changes.

Update Settings optimizare site

  • After activation, a confirmation window will inform you that the settings have been successfully applied.

Confirmare optimizare website

  • Once you complete these steps, compression via mod_deflate will be enabled for all domains associated with your cPanel account.

Similar Articles

Views 1,670
Updated 1 year ago

This article describes the steps necessary for optimizing the website using the Optimize Website menu in cPanel.

Views 2,631
Updated 1 year ago

Find out how to index your website in Google by submitting the sitemap in Google Search Console. Follow the essential steps to improve your online visibility.

Views 5,002
Updated 1 year ago

Learn how to create a website in 3 simple steps, from choosing a theme to customizing the content, without advanced technical knowledge.