What is browser caching?

Every seconds browser loads webpage it has to download all the web files to display the web page. This includes all the HTML, CSS, JavaScript and images. Some pages might only consist of a few files and be small in size maybe a couple of kilobytes. For others however there may be a lot of files, and these may add up to be several megabytes large. Twitter.com for example is 2 MB+. These large files take longer to load and can be especially painful if you’re on a slow internet connection (or a mobile device) and each file makes a separate request to the server. The more requests your server gets simultaneously the more work it needs to do, only further reducing your page speed.

How to leverage browser caching?

A plugin, name: “Leverage Browser Caching” As it’s name, it will fix Leverage Browser Caching issues in your WordPress website. Also it improves page speed score in website testing tools like: Pingdom, GTmetrix, PageSpeed, Google PageSpeed Insights and YSlow.

How it work:

When the user visit a page, browser downloads all content of the particular page as well as common static files like css and js files. And when you visit other page of same website, your browser downloads them again. But if you have enabled Leverage Browser Caching, then all statics files will serve from your browser instead server. Now when you will visit any page of the particular website, it will only download unique contains of the page and static files will serve from your browser. in this way, it speed up each page of a website.

Comments to: how to fix leverage browser caching in wordpress sites?