Tag Archives: apache

Debian 6 : preparing the server for higher score in Page Speed and YSlow

This time is tips for server owner, like myself, so the tips to enable gzip compression, reduce image size and W3 Total Cache settings working for all of your client’s website/blog.

The steps is quite simple, make sure these Apache 2 modules active (some of these modules is not activated by default):

  • mod_headers
  • mod_expires
  • mod_deflate
  • mod_rewrite
  • mod_filter

Activate the modules using a2enmod and restart your Apache

a2enmod headers
a2enmod expires
a2enmod deflate
a2enmod rewrite
a2enmod filter
service apache2 restart

If everything is OK, the modules would be listed on your /etc/apache2/mods-enabled

apache2 mods enabled