shipfeedAI news, curated daily

01:18:16 CET
21 MAY01:18:16shipfeed
pull to refreshlast sync
Just in — 30 new
§ feed · storyline

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.

Dec 12 · · primary fetch1 sourceupdated Dec 12 ·

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

read full article on vercel.com
§ sources1 publication · timeline below
  1. vercel.comAdd cache tags from Function responses, regardless of frameworkprimary