# Add cache tags from Function responses, regardless of framework

**Published:** December 12, 2025 | **Authors:** Steven Salat, Shraddha Agarwal, Kelly Davis

---

You can now add one or more cache tags to your Function response by importing the [addCacheTag](https://vercel.com/docs/functions/functions-api-reference/vercel-functions-package#addcachetag) function from [@vercel/functions](https://www.npmjs.com/package/@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:

- [Dashboard Settings](https://vercel.com/docs/edge-cache/purge#manually-purging-vercel-cache)
- [Vercel CLI](https://vercel.com/docs/cli/cache)
- [Function API](https://vercel.com/docs/functions/functions-api-reference/vercel-functions-package#invalidatebytag)
- [REST API](https://vercel.com/docs/rest-api/reference/endpoints/edge-cache)

**Available on all plans and all frameworks. **

Learn more about [cache invalidation](https://vercel.com/docs/edge-cache/purge#understanding-cache-purging).

---

📚 **More updates:** [View all changelog entries](/changelog/sitemap.md) | [Blog](/blog/sitemap.md)