I have a problem, I have to gzip a prototype Lib, but i totaly have no idea how to do this, where to start and how does it works. :)
I find some tutorials but that wasn\
Hi If you are using Nginx server the above will not help. Please edit the with command vi /etc/nginx/nginx.conf
and add the below lines.
gzip on;
gzip_http_version 1.1;
gzip_comp_level 2;
gzip_types text/plain text/html text/css
application/x-javascript text/xml
application/xml application/xml+rss
text/javascript;
Restart the nginx with command /etc/init.d/nginx reload
. It will compress the JS and CSS files.