Yesterday's Top Poster

Invalidate the CDN cache by tag

  • Thread starter Thread starter Steven Salat, Luba Kravchenko
  • Start date Start date
You can now invalidate the CDN cache contents by tag. This will mark the all the cached content associated with the tag as stale so that the next request for that content will serve stale and revalidate in the background. Users visiting your website will not experience any latency increase while revalidating in the background.

There are three ways to revalidate content:


  • Dashboard


  • CLI


  • Function API


  • REST API

Learn more: https://vercel.com/docs/functions/functions-api-reference/vercel-functions-package#invalidatebytag

Read more

Continue reading...
 
Back
Top