Runtime Cache
Regional key-value cache for Vercel Functions and Middleware with tag-based invalidation and CDN purge helpers.
- CCM score
- 66 of 100
- skills.sh installs
- 312
- GitHub stars
- 353
- last updated
- Jun 3, 2026
Own this skill? Claim it
What it does
- Covers
getCache()set, get, delete, andexpireTagoperations, plus Next.jsuse cache: remoteandrevalidateTagintegration - Includes
invalidateByTaganddangerouslyDeleteByTagfor purging CDN, Runtime, and Data caches together, andvercel cacheCLI purge commands - Enforces limits of 2 MB per item, 128 tags per item, 256 bytes per tag, and case-sensitive tags that cannot contain commas
- Designed for caching beyond framework defaults, and flags direct Redis or
@vercel/kvusage in favor of Upstash Redis
Install
$ npx -y skills add vercel/vercel-plugin --skill runtime-cache -yInstalls into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.
Files
Vercel Runtime Cache API
You are an expert in the Vercel Runtime Cache — an ephemeral caching layer for serverless compute.
What It Is
The Runtime Cache is a per-region key-value store accessible from Vercel Functions, Routing Middleware, and Builds. It supports tag-based invalidation for granular cache control.
- Regional: Each Vercel region has its own isolated cache
- Isolated: Scoped per deployment environment (
previewvsproduction); scoped per project on Pro/Enterprise, but shared across all projects on a Hobby team - Persistent across deployments: Cached data survives new deploys (except Next.js 16
use cache: remoteentries, keyed per build); invalidation via TTL orexpireTag - Ephemeral: Fixed storage limit per project; LRU eviction when full
- Framework-agnostic: Works with any framework via
@vercel/functions
Key APIs
All APIs from @vercel/functions:
Basic Cache Operations
import { getCache } from '@vercel/functions';
const cache = getCache();
Details
- Repository
- github.com/vercel/vercel-plugin
- Categories
- Backend & APIs, DevOps & Cloud
- First seen
- Jun 3, 2026
Questions
What does the runtime-cache skill help with?
The runtime-cache skill gives guidance on the Vercel Runtime Cache API, an ephemeral per-region key-value cache with tag-based invalidation shared across Functions, Routing Middleware, and Builds. It is meant for caching strategies that go beyond framework-level caching.
Which skills lead the Backend & APIs category on Claude Marketplaces?
Runtime-cache is listed in the Backend & APIs category, alongside entra-app-registration, neon, firebase-basics, firebase-auth-basics and workers-best-practices. It focuses on caching with the Vercel Runtime Cache rather than database or authentication setup.
How do I install the runtime-cache skill?
Run npx -y skills add vercel/vercel-plugin --skill runtime-cache -y in your project. Once installed, the agent gets guidance for setting, getting and expiring cache entries with the getCache API from @vercel/functions.
Does the runtime-cache skill work with Next.js caching?
The skill covers Next.js 16 use cache: remote entries, which store in the Vercel Runtime Cache, and the invalidation functions updateTag and revalidateTag. It also explains that Runtime Cache tags do not apply to ISR pages.
More from vercel/vercel-plugin
All 25- Vercel Sandbox308
- Knowledge Update301
- Marketplace300
- Vercel Plugin Eval206
- Plugin Audit198
- Benchmark Agents197
- Release194
- Benchmark Testing193
- Benchmark E2e187
- Ai Sdk544
- React Best Practices491
- Deployments Cicd484
- Vercel Cli432
- Ai Gateway423
- Env Vars422
- Vercel Functions410
- Routing Middleware338
- Auth326
- Vercel Storage326
- Vercel Agent317
- Bootstrap315
- Chat Sdk315
- Verification315
- Workflow313
Similar to Runtime Cache
More Backend & APIshonopedronauck/skills309 installsEfficiently develop Hono applications using Hono CLI. Supports documentation search, API reference lookup, request testing, and bundle optimization.
event-sourcing-architectsickn33/agentic-awesome-skills309 installsevent sourcing architect
restful-hateoaspproenca/dot-skills307 installsRESTful API design guidelines following the Richardson Maturity Model through to Level 3 (HATEOAS) for Ruby on Rails. This skill should be used when designing,
microservices-patternssickn33/agentic-awesome-skills307 installsmicroservices patterns
senior-backendborghei/claude-skills303 installsBackend development with Node.js/Express/Fastify and PostgreSQL. Use when designing REST or GraphQL APIs, optimizing database queries, implementing authenticati
telegram-bot-grammypbnicad/telegram-bot-grammy-skill303 installsTelegram Bot development skill using grammY framework, TypeScript, Drizzle ORM, Vitest testing, Biome linting, deployed to Cloudflare Workers with D1 database.