• We value your experience with Plesk during 2025
    Plesk strives to perform even better in 2026. To help us improve further, please answer a few questions about your experience with Plesk Obsidian 2025.
    Please take this short survey:

    https://survey.webpros.com/

Best way to enable html/text compression via mod_deflate

J

Jagbir Singh

Guest
Hi,

we have around 60 sites running in plesk on CentOS 5.2 server. We would like to implement html/text compression by putting following statements in apache config file:

"
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE text/html
"

want to ask, where should I put this info to make it global for all existing sites and any new site that might be added in future?

Thanks & Regards,
Jagbir Singh
 
Back
Top