<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>
Add this code in .htaccess file to enablr Gzip compression
Links:
http://www.feedthebot.com/pagespeed/enable-compression.html
http://gtmetrix.com/enable-gzip-compression.html
http://checkgzipcompression.com/
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>
Add this code in .htaccess file to enablr Gzip compression
Links:
http://www.feedthebot.com/pagespeed/enable-compression.html
http://gtmetrix.com/enable-gzip-compression.html
http://checkgzipcompression.com/
0 comments:
Post a Comment