TutorialscPanel

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 988Updated 9 luniPublished on 06/10/2017by Sebastian Szlivka

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

DNS settings in the Webuzo panelTutorials /Webuzo

Learn how to edit and set DNS records in the Webuzo panel. Follow the steps to effectively manage domains and subdomains.

47
by Alexandru Rogojan
Views 2007
Updated 7 months ago
Published on 14/09/2017
Changing the PHP version in cPanel on VPS hosting packages via MultiPHP ManagerTutorials /cPanel

In this article, we will present the necessary steps to change the PHP version in a cPanel account using MultiPHP Manager.

46
by Sebastian Szlivka
Views 2265
Updated 1 year ago
Published on 18/10/2017
Clear cache and history in Chrome browserTutorials /Apps

Learn how to delete your history and cache in Google Chrome using the Ctrl+Shift+Delete key combination. The tutorial includes simple steps and applicability in other browsers.

33
by Florin Petran
Views 5878
Updated 4 years ago
Published on 08/01/2018
Creating an email account in cPanelTutorials /cPanel

The cPanel allows for the creation of an unlimited number of email accounts associated with hosted domains. This tutorial will explain the necessary steps to create and access an email account.

25
by Cătălin Adrian
Views 4587
Updated 1 year ago
Published on 28/06/2017
Optimization of WordPress Performance with Caching SolutionsTutorials /WordPress

Optimize the performance of your WordPress site with caching plugins like WP Rocket. Discover solutions for page caching, CDN integration, and improving site speed.

23
by Patrick Turner
Views 1167
Published on 16/01/2025