Compress Your Output Using Deflate(apache) Mod

If you are running slow while you fetch any data from server? Then no problem apache server give us deflate output, it compress our output data and returns so we get compress data about 80% compressed.


  • Ensure that the module file is installed. This file is part of the core apache2 package which you should already have installed per the previously mentioned prerequisites. By default, it is found in /usr/lib/apache2/modules/ Also, the web server should be able to open this file. For this purpose should have world readable permissions such as 644.
  • Check if the module has been loaded. Open the module configuration file /etc/apache2/mods-enabled/deflate.load , which is a symlink to /etc/apache2/mods-available/deflate.load, and ensure this line is present and not commented out:

To enable

Now add htaccess

Now fun 😉

71 Total Views 2 Views Today