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
apache2package which you should already have installed per the previously mentioned prerequisites. By default, it is found in
/usr/lib/apache2/modules/mod_deflate.so. Also, the web server should be able to open this file. For this purpose
mod_deflate.soshould 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:
1LoadModule deflate_module /usr/lib/apache2/modules/mod_deflate.so
sudo a2dismod deflate</code><code langs="">
Now add htaccess
Now fun 😉
71 Total Views 2 Views Today