Understand Cache-Control:max-age=0 for Beginners – Site Optimization Tutorial

By | August 17, 2019

What is Cache-Control?

Cache-Control is a http request header, it tells the browser to cache html resources or not and how long they are cached. you can improve site performance by using Cache-Control.


Here is an example of Cache-Control:max-age=0.

cache-control examples
max-age portion of Cache-Control means how long the html resources will be cached. So max-age=0 means the browser does not cache resource, it will load resources every http request.

Leave a Reply

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