Enabling GZip on WAMP
If you use WAMP (www.wampserver.com) to develop websites on a local PC, then you probably don’t need to enable gzip (server-side file compression to reduce the amount of data transferred when a web page is requested).
However, it can still be useful, letting you see how well a page may be compressed by your live web host without having to actually upload it.
Enabling gzip on WAMP is actually quite easy, though most of the advice I found was wrong. Here’s what worked for me.
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 add the following snippet just before the include line at the very end (note: between the ifmodule tags it’s just one line of code – don’t break it):
3. Restart Apache.