CDN caching accelerates the loading times of images as it allows to host them as close as possible to your end users. By using CDN caching, your ensure maximum performance of your website. You can define the
s-maxage attributes in the Cache-Control HTTP Header of images delivered by Cloudimage to control the caching behaviour.
When this cache expired, the image will be requested from the origin and the new image delivered to the client. Reduce the default values if you have rotating images but static image URLs without versioning.
We recommend using Invalidation if you need to refresh your images as it will not impact your CDN cache-hit ratio.
||The time in seconds that the image is allowed to be re-used.
||This directive applies only to the caching in CDN. To maximise performance,
we recommend you set a high value here and invalidate images when needed.
If you have rotating origin images but do not change the name, you need to follow the chart:
You can set the desired values in the admin console, under Image Settings -> Caching.
To define the caching interval for a specific image, you can use the ci_cache=X setting (X is in seconds).