Recently my friend checks his website in Google page speed test tool. It shows advice to make Leverage browser caching. I am new to web optimization. So what is Leverage browser caching and How to use them?
Leverage browser caching to increase your website page loading speed. Every browser needs to load and render several things such as logos, images, CSS files, and JS files. Each page visit needs this same thing. But if you make Leverage browser caching, your browser remembers your webpage resource which is already loaded.
Login to your website C panel. Find your website directory and Add this code to your website .htaccess file. if you do not see any .htaccess file check your web hosting file manager settings. Sometimes it is hidden.
If your friend already using any WordPress CMS, don’t need to go website C panel to edit .htaccess file.
There are many plugins available to edit the WordPress .htaccess file. One of the WordPress plugins is
WP htaccess Control. You can easily edit the .htaccess file in your WordPress Admin dashboard.
Use these links to get some detailed information about Leverage browser caching from Google.