There are multiple ways to flush/replace an image.
- Simply add a query string parameter to your image URL to get the latest version of your Origin file, for example:
- Use the invalidation Cloudimage API documented here.
- Use the invalidation Filerobot API documented here.
Please consider that Cache invalidation is process:
|1||Using URL(s) invalidation (requires full path to be invalidated) trigger||
|2||Using Origin invalidation trigger||
|3||Invalidation process require||
Please keep in mind that:
|1||Invalidated files are removed from the CDN|
|2||They will get populated to the CDN with the first time they get requested again (not before that)|
|3||First request of a file trigger||
|4||If a file get requested at the same time from multiple CDN servers this will cause each server to consider this as first time requesting the file (till the file get propagated to the CDN servers)|
|5||CDN population get version by version - if you invalidate the Origin - all versions are removed and each version request is treated as first time calling for this image (just skipping the download from your storage if we have cached the origin version of the file)|
Please sign in to leave a comment.