Web site Optimization Information | cPanel & WHM Documentation


Optimize Web site

Legitimate for variations 82 by the newest model

Final modified: 2024 Could 29


Searching for this interface?

Overview

This interface permits you to configure your server to mechanically
compress specified sorts of content material when guests entry that content material.

Word:

Your system administrator should allow the mod_deflate Apache module for this interface to seem in cPanel.

Handle compression

To disable compression of your web site’s content material, carry out the next steps:

  1. Choose Disabled.
  2. Click on Replace Settings.

To compress your whole web site’s content material, carry out the next steps:

  1. Choose Compress All Content material.
  2. Click on Replace Settings.

To specify an inventory of sorts of content material to compress, carry out the next steps:

  1. Choose the Compress the desired MIME sorts choice.

  2. Within the MIME Sorts textual content field, enter a space-separated checklist of the sorts of content material that you just want to compress (for instance, textual content/html textual content/plain textual content/xml).

    Word:

    • Picture file codecs (for instance, .jpg and .png) already compress information. Do not embody any picture file codecs within the checklist.
    • Apache will compress PHP content material in the event you allow the zlib.output_compression setting in cPanel’s MultiPHP INI Editor interface (cPanel » Residence » Software program » MultiPHP INI Editor).
    • For extra info, view Wikipedia’s checklist of web media sorts.
  3. Click on Replace Settings.

Word:

cPanel saves your settings to a .htaccess file in your house listing. Your system administrator customizes these settings with the Apache FileMatch directive.

Further info

For extra details about the mod_deflate module, which handles web site content material compression, learn the documentation in your server’s model of Apache:

Word:

The Stats sidebar in cPanel’s Residence interface shows your server’s model of Apache.



Supply hyperlink


Posted

in

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.