Zum Inhalt springen
Kitbay
Einreichen

runtime-cache

Apache-2.0Aktualisiert am 10. Nov. 2026333GitHub-Sterne

A skill in Vercel's plugin for coding agents about the Vercel Runtime Cache, a short-lived key-value cache kept per region and shared by Vercel Functions, Routing Middleware and builds, with invalidation by tag.

Was der Skill vermittelt

A skill in Vercel's plugin for coding agents about the Vercel Runtime Cache, a short-lived key-value cache kept per region and shared by Vercel Functions, Routing Middleware and builds, with invalidation by tag. It shows the agent the get, set and delete calls from @vercel/functions and their options, how to expire tags from a server action, the functions for purging CDN cache, how Next.js 16 uses it through the use cache: remote directive and its invalidation APIs, related CLI commands, size limits, observability, and when this cache is or is not the right choice compared with framework caching.

Funktionen

  • Read and write the Vercel Runtime Cache from functions
  • Invalidate cached entries by tag
  • Purge CDN cache entries
  • Use remote caching in Next.js 16