Add cache tags from Function responses, regardless of framework
Vercel adds support for attaching cache tags to Function responses via the `@vercel/functions` npm package, enabling tag-based cache invalidation across all plans and frameworks.
You can now add one or more cache tags to your Function response by importing the function from npm package.addCacheTag@vercel/functions import { addCacheTag } from '@vercel/functions' Once the cached response has a tag associated with it, you can later invalidate the cache in one of several ways: Available on all plans and all frameworks.
Learn more about .cache invalidation Read more Dashboard Settings Vercel CLI Function API REST API