# Verify cache indicators

You can debug requests to your applications by sending the HTTP header `Pragma: azion-debug-cache`. This header instructs Azion's edge servers to return detailed indicators about the cache state in the response headers.

---

## Checking indicators with cURL

The fastest and recommended way to check the indicators is to use `cURL` directly in your terminal:

1. Open your terminal.
2. Run the command below, sending the `Pragma: azion-debug-cache` header (replace the example URL with your application's URL):

```bash
curl -I -H "Pragma: azion-debug-cache" https://www.example.com
```

> **Tip:** The `-I` flag requests only the HTTP response headers, making it easier to quickly read the cache data without downloading the page body.

3. Inspect the returned response. Azion's indicators will be listed under headers starting with `X-Cache`.

---

## Alternative: Google Chrome DevTools (native)

If you prefer to inspect headers through the browser without using third-party extensions:

1. Open **Google Chrome** and navigate to the desired page.
2. Open **Developer Tools** by pressing `F12` (or `Ctrl+Shift+I` / `Cmd+Option+I`).
3. Go to the **Network** tab.
4. Reload the page (`F5`).
5. Select the main request from the list and navigate to the **Headers** tab.
6. Look for response headers starting with `X-Cache`.

---

## Cache indicators table

When you send the debug header, Azion returns the following fields in the HTTP response:

| Field | Description |
| --- | --- |
| X-Cache | Status of the request: 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 | Time that the object will remain in cache, in seconds. |
| X-Cache-Valid | Time set for the object in the cache. This time can be set unconditionally on the webserver or can come from the origin via Cache-Control headers. |
| X-Cache-Config | ID of the configuration of the virtual host on the webserver. This value is generated by Azion Console. |
| X-Cache-ID | Unique request ID. |

*\* You can convert a Unix Time Stamp into a human-readable format using the [Unix Time Stamp website](http://www.unixtimestamp.com/).*

---

## Trademarks

[Chrome browser](https://www.google.com/chrome/) is a registered Google LLC trademark in the United States and/or other countries.