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:
- Choose Disabled.
- Click on Replace Settings.
To compress your whole web site’s content material, carry out the next steps:
- Choose Compress All Content material.
- Click on Replace Settings.
To specify an inventory of sorts of content material to compress, carry out the next steps:
-
Choose the Compress the desired MIME sorts choice.
-
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,
.jpgand.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_compressionsetting 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.
- Picture file codecs (for instance,
-
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.
Leave a Reply