Improve Website Loading Speed

Topic- Improve Your Website Loading Speed
Do you know, you can improve the site loading speed by some percent by specifying the expiration of your image files as well as css files.

It is very simple, just follow these steps

.Open cPanel>>file manager>>public_html

Find .htaccess file (a hidden file)Edit that Just before this # END WordPress line, add these lines

# Expire images headerExpiresActive OnExpiresDefault A0ExpiresByType image/gif A2592000ExpiresByType image/png A2592000ExpiresByType image/jpg A2592000ExpiresByType image/jpeg A2592000ExpiresByType image/ico A2592000ExpiresByType text/css A2592000 

By this way you set an expiration of one month to your image/css files for one month as A2592000 means 1 month in the future (60*60*24*30=2592000).

How to check the improvement?

Before doing this all check your website score at google speed test & after doing this all Check it again.Definitely you will observe a change.

Note- Keep a backup of .htaccess file before doing this all, you may get an Internal server error.

No comments :

Post a Comment