Leverage Browser Caching for Images, CSS and JS

To leverage your browser's caching generally means that you can specify how long web browsers should keep images, CSS and JS stored locally. That way the user's browser will download less data while navigating through your pages, which will improve the loading speed of your website.

To enable it, add those lines to your .htaccess file:


The .htaccess file can be modified via FTP, or the File Manager in cPanel.

You find this article useful? Click here to learn more about SiteGround web hosting experts and what else we can do for you!