Increase Your Website Speed



Gzip reduces the size of the HTTP response and helps to reduce your website response time. It's an easy step to reduce page load speed.  You can enable it by adding the following code to your .htaccess file:

Login your cPanel:
open file manager and then add the following code to your .htaccess file:

# compress text, html, javascript, css, xml:
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
# Or, compress certain file types by extension:


SetOutputFilter DEFLATE


No comments :

Post a Comment