How to understand Cache-Control:max-age=0

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.


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.