# Caching

Caching accelerates the loading times of images as it allows to host them as close as possible to your end users. By caching, your ensure maximum performance of your website.

When this cache expires, the image will be requested from the origin and the new image delivered to the client.

Please note that these settings can be changed upon request via a [ticket to our support team.](https://scaleflex.zendesk.com/agent/)

<figure><img src="/files/1BQVLjYZkbxO7wbyEfBx" alt=""><figcaption></figcaption></figure>

**Browser cache expiration interval (Max-age):** The time in seconds that the image is allowed to be re-used. For instance, max-age=86400 indicates that an image remains in the browser cache for the next 86400 seconds (24 hours).

**CDN cache expiration interval (S-maxage):** S-maxage = 31536000 indicates that the image remains in the CDN cache for 31536000 seconds (1 year)

**Automatic origin image refresh:** If you need to use a very small caching interval for a specific image (for example, snapshots from a live webcam or a specific chart with dynamically changing contents), you need to change the **Automatic origin image refresh** setting in your Admin console. This tells our resizing servers to update all origin images after this interval has expired.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.scaleflex.com/dynamic-media-optimization-dmo/settings/delivery/caching.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
