Checks the cache-control header to make sure it has appropriate values.
This test will check for the presence of a Cache-Control header which tells the web browser how it is allowed to store a response. When a user navigates through a website, resources that have already been downloaded will be quickly served from the local cache instead of being sent from the server again.
Regardless of what caching strategy is desired by the website, a Cache-Control header should always be included. Without a cache-control header, the browser will default to using heuristics to cache the page which may not be the desired behavior. For more information about caching strategies, please read our HTTP Caching Tutorial.
Ready to validate your website for this test and 100+ others?