What is s-maxage and where I can check its value for my Cloudimage token?

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:

Screenshot_2022-11-03_at_11.02.20.png

In cases when the s-maxage value needs to be changed, please contact our Support team.

 

If you have any questions or issues, please feel free to contact our Software Engineer and mention the following details:

    • Token
    • Short description of the issue (including URLs, screenshot, short video if available)
    • Steps to reproduce the issue.
Was this article helpful?
0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.