The s-maxage directive controls the CDN cache expiration period.
In case you are not familiar with caching definition, here is what means s-maxage :
s-maxage ('s' means seconds) — Indicates that in shared caches, the maximum age specified by this directive overrides the maximum age specified by either the max-age directive or the Expires header field. The s-maxage directive also implies the semantics of the proxy-revalidate response directive. Browsers ignore s-maxage
Example on how s-maxage works:
- an image with s-maxage=2592000 would be cached in the CDN server for a period of 2592000 seconds = 1 month. After that, the CDN will delete the cached image. If the users request the image again, the CDN will get a new, fresh copy of the image and will cache it again for a period of 1 month.
If you want to check what is the s-maxage value for your Cloudimage token, please open the Cloudimage Admin panel in menu Image Settings -> tab Caching:
In cases when the s-maxage value needs to be changed, please contact our Support team.
For additional information regarding the Image Cache we suggest you to read the following articles:
Comments
Please sign in to leave a comment.