Cache Invalidation
API endpoint -
DELETE /api/2/img/[IMAGE-URL]?auth=[API_SECRET]
Cache invalidation invalidates images cached on CDN and Pixboost 2nd level cache.
Example:
curl -X DELETE 'https://pixboost.com/api/2/img/http://www.midday.coffee/banner.jpeg?auth=ABCDEF'
200 - Image has been invalidated.
202 - Invalidation process began and will finish soon. Usually it will take up to the 5 minutes.
Please, be aware that invalidations don't affect cached copies in web browser caches or caches operated by third-party Internet service providers.
In most cases, using versioning on file names is a better option.
Last modified 3mo ago