Gzip compression of Js , Css in wordpress

Add the below code into your .htacess file and then check your website page speed.

# BEGIN GZIP

<ifmodule mod_deflate.c>

AddOutputFilterByType DEFLATE text/text text/html text/plain text/xml text/css application/x-javascript application/javascript

</ifmodule>

# END GZIP

Leave a Reply

Your email address will not be published. Required fields are marked *