Token and image caching
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-maxageattributes in the Cache-Control HTTP Header of images delivered by Cloudimage to control the caching behavior.
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.
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.
You can define the caching interval of a specific image by setting the ci_cache=X URL parameter of the image where X is the interval in seconds.
This will override the
s-maxageattributes only for this image.
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.