All Collections
Dashboard
CDN cache purge
How to invalidate the CDN cache
How to invalidate the CDN cache
Learn how to invalidate assets cached in the CDN using the dashboard.
Benjamin Arne avatar
Written by Benjamin Arne
Updated over a week ago

Feature access

Cache invalidation feature is available for customers on Business and Enterprise Plans. See how to enable the CDN cache purge.


Cache purge

You can invalidate assets in the CDN cache via the TwicPics dashboard.

  1. Navigate to the relevant workspace and choose the domain for which you want to invalidate the cache.

  2. Hit the Cache Purge button on the upper right corner of the domain panel.

  3. Fill in URLs of the assets to be invalidated and hit the Purge button.

  4. 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

Did this answer your question?