![]() In order to enable browser caching, you need to configure your web server so that it tells visitors’ browsers which types of files to store and how long to store them for before re-downloading them.įor example, you can configure your server to say: This is why you typically see “Leverage browser caching” as a common recommendation in tools like GTmetrix and Pingdom. Then, a visitor’s browser can load that resource locally rather than re-downloading it, which will speed up your site’s load times and create a better experience for your visitors. Forcing a visitor’s browser to re-download your logo for every single page load is just a waste of resources that will slow down your site.īrowser caching lets you avoid that scenario by saving certain types of resources on a visitor’s local computer. However, on subsequent visits, it doesn’t make sense to force them to request and download every single resource on each visit.įor example, your logo probably loads on every single page, but it doesn’t change that often. When someone visits your website for the first time, their web browser needs to request and download every single file to render your page. ![]()
0 Comments
Leave a Reply. |