Feature access
Asset cache purge feature is available for customers on Business and Enterprise Plans. See how to enable the CDN cache purge.
โ
Perform an Asset cache purge request
You can invalidate specific asset(s) in the CDN cache via the TwicPics dashboard.
Navigate to the relevant workspace and choose the domain for which you want to invalidate the cache.
Hit the Asset cache purge button on the upper right corner of the domain panel.
โFill in URLs of the assets to be invalidated and hit the Purge button.
Congratulations! Your image are being invalidated.
Please note that it can take up to 15 minutes to clear assets from all the CDN nodes and cache layers of our servers.
โ ๏ธ If you continue to see an invalidated asset in your browser, it may be saved in your browser cache. Try opening an incognito window or clearing your browser cache.
The history of cache purges performed in the last 7 days is available under the URL insertion area.
๐ก Best practices to avoid cache invalidation
Whenever you are updating a visual asset, we recommend updating its corresponding URL too. By doing so, you avoid having to handle cache invalidations altogether.
However, if it is not possible or desirable to change the URL of an asset, you can consider adding a query string of versioning.
Example: https://domain.com/paths/image1.jpeg?v=2
Using this technique, assets will be invalidated from both the CDN and the browser caches.
Related articles