# Cache timing allocation for transformed images

In [i3](https://docs.transparentedge.eu/config/i3), our image management solution, setting the `max-age` and `s-maxage` values in the [`Cache-Control`](https://docs.transparentedge.eu/getting-started/faq/glosario/cache-control) 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**](https://docs.transparentedge.eu/config/i3/conversion-to-webp) 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](https://docs.transparentedge.eu/config/vcl) [configuration](https://docs.transparentedge.eu/config) similar to the following from the [dashboard:](https://docs.transparentedge.eu/getting-started/dashboard)

```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";
    }
}
```
