• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Performance Boost with GZIP

mark012492

Chevereto Member
Just wanted to post some new tweaks that I customized for version 3.

The following requires mod_deflate and mod_expires to be loaded into apache or it will not work.

I have customized a list of options based on Chevereto v3 that seem to work well. Before I list them out here are the test results prior to any tweaks.

6d3f4155.png


After enabling mod_deflate and mod_expires in the apache configuration and adding the following rules to the main .htaccess of my doc root (could also add to an includes file to make settings global):

Code:
  ##Begin Compression Opts
  <ifModule mod_deflate.c>
  <filesMatch "\.(js|css|html|php|jpg|jprg|bmp|png|gif|woff|svg|ico)$">
      SetOutputFilter DEFLATE
  </filesMatch>
  </ifModule>
  <IfModule mod_expires.c>
  ExpiresActive On
  ExpiresByType image/x-icon "access plus 14 days"
  ExpiresByType image/jpg "access plus 14 days"
  ExpiresByType image/png "access plus 14 days"
  ExpiresByType image/gif "access plus 14 days"
  ExpiresByType image/svg+xml "access plus 14 days"
  ExpiresByType image/jpeg "access plus 14 days"
  ExpiresByType image/bmp "access plus 14 days"
  ExpiresByType application/x-font-woff "access plus 14 days"
  ExpiresByType text/css "access plus 1 week"
  ExpiresByType application/x-shockwave-flash "access 1 month"
  ExpiresByType text/javascript "access plus 1 week 6 hours"
  ExpiresByType application/x-javascript "access plus 1 week 6 hours"
  ExpiresByType application/javascript "access plus 1 week 6 hours"
  </IfModule>
  <IfModule mod_headers.c>
    Header unset ETag
  </IfModule>
  FileETag None
  ##End Compression Opts

I also went a step further and setup keep alive and timeouts within the apache configuration.

9d31caf1c.png


Final Results:

*Please note the server is currently not under load. Depending on traffic results may vary. The score would be even better if I did not include Google Analytics.

*May not want to do this until after you're done setting everything up as your visitors will cache the site as is.

3cca4d35.png



Environment:
Apache 2.2 (will be bumping to 2.4 shortly, do not foresee any issues.)
PHP 5.4
MySQL 5.5

Mark - LinkedIn
linkmypic.com
 
Last edited:
Back
Top