I would like to force the refresh of a fetched image.
For this purpose I make an API call via 'delete_resources' method (PHP Library)
$this->api->delete_resources([$publicId], ['type' => 'fetch', 'invalidate' => true]);
My image is deleted from the Media Library but is still available in CDN cache.
I'm aware that the default cache period for fetched resources is 7 days but with an invalidation call shouldn't it be deleted/refreshed in few minutes?
I'm not looking for a periodic refresh (7 days is ok) but I'd like to know if a quick manual force refresh is possible.
Please sign in to leave a comment.