Enabling GZIP on WAMP

Just a short note for those who seek to enable GZIP on WAMP.

Before I’ve used information from Zigpress ~ and you can find loads of references to that same article all over the net. At the moment, that site isn’t accesible, however. Luckily Google’s cache helps out. The listed instructions are:

  1. In the WAMP tray applet, enable Apache’s deflate_module and headers_module (letting the service restart each time).
  2. In the WAMP tray applet, edit Apache’s httpd.conf and
  3. add the following snippet just before the include line at the very end:

<ifmodule mod_deflate.c>
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/x-javascript application/javascript
</ifmodule>

4.  Restart Apache.

In the comments it’s mentioned to check PHP’s zlib compression as well.

You still need one more additional step to make this work, however: get GZIP, install it and add the path to your system path.