Welcome! Log In Create A New Profile

Advanced

How to activate Gzip

Posted by GripsArt 
How to activate Gzip
June 13, 2015 09:35AM
Hey,
im trying to enable Gzip compression for a website.
Its a shared Hosting package.

I have tried it with:
<ifModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file \.(html?|txt|css|js|php|pl)$
mod_gzip_item_include handler ^cgi-script$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</ifModule>

in htaccess.
http://checkgzipcompression.com/
says everythings nice, but google PageSpeed Insights dosnt like it.

Can someone tell me how to do this?

Thanks!

Sorry for my bad english :-D
Re: How to activate Gzip
June 17, 2015 05:50AM
Take a look at http://nginx.org/en/docs/http/ngx_http_gzip_module.html

https://www.esds.co.in/
Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 143
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready