Leverage browser caching to speed up website loading

Browser caching is an important factor to load your website quickly. If you test your website using online speed test tools like Google PageSpeed, you will get a message stating that you should leverage browser caching for some static contents to speed up website loading.

It is recommended you set appropriate cache expiry for your static contents. In this article, we will provide you the code to enable expiry for your static contents using .htaccess.

Leverage browser caching

Your hosting server must support required caching module to use the following rules:

You can add other required static contents in the above list (i.e video files etc.).

Posted in SEO.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.