• Halloween is coming! To celebrate the occasion, we dusted off a couple of old skins, and even created a brand new one (Pixel).
    To get into the festive spirit, install the Skins extension.
  • The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

Is mod deflate worth it?

Amin Taheri

Golden Pleskian
Plesk Certified Professional
Is mod deflate worth it?

Ive read that it increases server loads and is not good to have on a busy server, but that it decreases the page load times of sites (pages render faster to clients).

My Server does between 5 and 9 GB of bandwidth a day, with about 800 domains.

Does anyone use it on a busy (or comporable) server and can attest one way or the other from personal expierience?

Is there something better to use instead (cache, mod_expires, etc)?
 
works great

Sure it works great :) .. we run it on multiple servers (all running about 350 domains each).

Bandwidth has gone down a lot .. and the faster page load times are great.

Just add this to your httpd.conf (make sure that the load line for mod_deflate is uncommented.)

Code:
<Location />
  <IfModule mod_deflate.c>                 
    #compress content with type html, text, and css                 
    AddOutputFilterByType DEFLATE text/html text/plain text/css text/javascript application/x-javascript
    BrowserMatch ^Mozilla/4 gzip-only-text/html
    BrowserMatch ^Mozilla/4\.0[678] no-gzip
    BrowserMatch \bMSIE !no-gzip !gzip-only-text/html                  
    <IfModule mod_headers.c>
      #properly handle requests coming from behind proxies     
      Header append Vary User-Agent
    </IfModule>          
  </IfModule>               
</Location>

We turn on mod expires on a site by site bases (using .htaccess)..

In your .htaccess file:
<IfModule mod_expires.c>
ExpiresActive On
ExpiresDefault A300
ExpiresByType image/x-icon A2592000
ExpiresByType application/x-javascript A3600
ExpiresByType text/css A3600
ExpiresByType image/gif A604800
ExpiresByType image/png A604800
ExpiresByType image/jpeg A604800
ExpiresByType text/plain A300
ExpiresByType application/x-shockwave-flash A604800
ExpiresByType video/x-flv A2592000
ExpiresByType application/pdf A300
ExpiresByType text/html A300
</IfModule>
 
Back
Top