Invalidate the CDN cache by tag

1 min read

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