Check the Cache time of the page

Edit on GitHub

To check the cache time of the page/object and how much time is left until expiry, follow these steps:

  1. Install the Modify Headers plugin for Chrome

Modify Headers Plugin

  1. Click on the icon for the plugin that was added to Chrome: Modify Headers Plugin

  2. Click on Add New to add a new Rule:

Adicionar regra

  1. Add the following information:

Action = Add

Name = Pragma

Value = azion-debug-cache

Description =

Afterwards, click on Save and then on the play icon

Adicionar regra

  1. Click on Enable All and then confirm.

Enable All

  1. Next, activate the Developer Tools function in Chrome

ativando developer tools

  1. In Developer Tools, go to Network – Load the page that you want analyzed – Find the html of the page or object - click on Headers

developer tools

  1. You will see the Cache information in the following form:
Field Description
X-Cache Status of request, either HIT, MISS, EXPIRED, UPDATING or STALE.
X-Cache-Key Cache key of the object, normally consists of the combination of host + uri + arguments.
X-Cache-File Cache file of the object, consisting of the md5 of the cache key.
X-Cache-Since Unix Time Stamp* of when the object enters the cache.
X-Cache-Expire Unix Time Stamp* of when the object leaves the cache.
X-Cache-Expire-In Remaining time that the object will be in the cache, in seconds.
X-Cache-Valid Time set for the object to be in the cache. This time can be set unconditionally on the webserver or can come from the origin, using Cache-Control headers.
X-Cache-Config ID of the configuration of the virtual host on the webserver. This value is generated by the RTM.
X-Cache-ID Unique ID of the request.

The Unix Time Stamp can be converted into standard format on the site: http://www.unixtimestamp.com/


Didn’t find what you were looking for? Open a support ticket.