How to enable GZIP on a WAMP server

June 12, 2014   /   by Marco  / Categories :  Technology, Websites
GZIP Enabled

There’s a few way to enable GZIP on a WAMP server and here’s what I did to get mine working. This was tested with WAMP version 2.2

WHY ENABLE GZIP?

This will increase the speed it takes to load your website. Data is compressed before it is sent and decompressed at the receiver end. This process helps make your web pages load faster.

HOW TO ENABLE GZIP ON A WAMP SERVER?

1. Ok click on the WAMP tray applet (the Green W).

GZIP WAMP

GZIP WAMP

 

2.  Move the mouse to Apache modules, then select Apache’s deflate_module and headers_module

How to enable GZIP on WAMP

How to enable GZIP on WAMP

3. Then in WAMP tray applet, edit Apache’s httpd.conf and add the following code just before the include line at the 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 and make sure the W is still green.

Then test by using a site like checkgzipcompression.com and it should say GZIP enabled.

Here’s an example of the test result.

GZIP Enabled

GZIP Enabled

DO YOU LIKE WHAT YOU'VE READ?
Join our subscription list and receive our content right in your mailbox. If you like to receive some Great deals our Freebies then subscribe now!

Our Sponsors

  • Follow us:

OTHER ARTICLES YOU MAY LIKE


FILMORA 15.2.3 UPDATE: DID IT FIX PLAYBACK JITTER? A PRACTICAL TEST WITH GPU SETTINGS

FILMORA 15.2.3 UPDATE: DID IT FIX PLAYBACK JITTER? A PRACTICAL TEST WITH GPU SETTINGS

Wondershare Filmora has received a new point release, and for many editors the first question is simple. Has this update finally fixed that annoying playback jitter in the preview window. If you have felt a stutter during editing that makes your footage look as if frames are being skipped or shuffled rather than played smoothly, […]

read more
STOP NOISY CALLS: THE ANDROID SETTING YOU SHOULD SWITCH ON TODAY

STOP NOISY CALLS: THE ANDROID SETTING YOU SHOULD SWITCH ON TODAY

Phone calls still matter. Whether you’re speaking to a client, checking in with family, or handling something urgent on the move, clarity can make or break the conversation. If you’ve ever found yourself apologising for the construction noise behind you, the wind across your microphone, or the café chatter muddling your words, there’s an Android […]

read more

Like our Page