Steps to Enable

Open c:\xampp20\apache\conf\httpd.conf file.

  1. Find and uncomment following lines by removing “#”.
  2. Add below content in end of file.
  3. Save file and Restart apache.
  4. 🙂

Verify compression

Now you can verify by running Audit or Request logs.

codepetals gzip before


codepetals gzip after


gzip 4

With gzip you can save upto 50% of your bandwidth. Implementing this in XAMPP helps to optimize webapp in your local.