1 of 20
2 of 20
3 of 20
4 of 20
5 of 20
6 of 20
7 of 20
8 of 20
9 of 20
10 of 20
11 of 20
12 of 20
13 of 20
14 of 20
15 of 20
16 of 20
17 of 20
18 of 20
19 of 20
20 of 20

doc

Verifying information related to cache

You can use the ModHeader extension for Google Chrome to include debug headers in your requests and these headers will return different cache indicators.

To verify indicators such as page or object cache time and time left for the next expiration, follow the steps:

  1. Install the ModHeader extension by clicking the Add to Chrome button.
  2. Click the Extensions button on your Google Chrome and select the Modheader extension — the Profile page will appear.
  3. Select the Request headers item and fill the fields according to the following information:
    • Name: Pragma
    • Value: azion-debug-cache
  4. Click the Pause Modheader icon and restart the extension by clicking the Start Modheader icon.

Next, follow these steps to enable Developer Tools on Google Chrome to access the information:

  1. Open Google Chrome and click the Customize and Control Google Chrome button on the tools bar.
  2. Select More Tools > Developer Tools.
  3. Select the Network tab.
  4. Access the page in which the information is being cached.
  5. Select the cached content among the requests.
  6. Select the Headers tab.

The cache information will appear according to the following fields:

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: https://www.unixtimestamp.com/


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