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
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