# Cache timing allocation for transformed images

In [i3](/config/i3.md), our image management solution, setting the `max-age` and `s-maxage` values in the [`Cache-Control`](/getting-started/faq/glosario/cache-control.md) header is done through two custom headers: `TCDN-i3-max-age` and `TCDN-i3-s-maxage`, both with the same semantics.&#x20;

For example, if we wanted to serve images on our domain `mi-dominio.es` in [**WebP**](/config/i3/conversion-to-webp.md) format with a `max-age` of one minute (60 s) and an `s-maxage` of one month (2592000 s), we would simply need to deploy a [VCL](/config/vcl.md) [configuration](/config/easy-setup.md) similar to the following from the [dashboard:](/getting-started/dashboard.md)

```c
i3 - Cache-Control
sub vcl_recv {
    if (req.http.host == "www.mi-dominio.es") {
        set req.http.TCDN-i3-transform = "auto_webp";
        set req.http.TCDN-i3-max-age = "60";
        set req.http.TCDN-i3-s-maxage = "2592000";
    }
}
```


---

# 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.transparentedge.eu/config/i3/cache-timing-allocation-for-transformed-images.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.
