Add cache tags from Function responses, regardless of framework
Source: Vercel Blog
Add Cache Tags to Function Responses
You can now add one or more cache tags to your Function response by importing the addCacheTag function from the @vercel/functions npm package.
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:
…