runtime-cache
OfficialVercel Runtime Cache API guidance
Authorvercel-labs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This Skill addresses the need for efficient, serverless-native caching within the Vercel ecosystem, enabling faster data retrieval and reduced load on origin servers by providing a per-region, key-value cache with tag-based invalidation.
Core Features & Use Cases
- Per-Region Caching: Stores data isolated to specific Vercel regions, improving latency for regional users.
- Tag-Based Invalidation: Allows for granular cache purging using tags, ensuring data freshness without full cache resets.
- Framework Agnostic: Integrates with Vercel Functions, Routing Middleware, and Builds, usable across different frameworks.
- Use Case: Cache frequently accessed API responses or computed data in a serverless function, and then invalidate that cache using a tag whenever the underlying data is updated via a CMS webhook.
Quick Start
Use the runtime-cache skill to set a key named 'user:123' with user data, a TTL of 3600 seconds, and tags 'users' and 'user:123'.
Dependency Matrix
Required Modules
None requiredComponents
references
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: runtime-cache Download link: https://github.com/vercel-labs/vercel-plugin/archive/main.zip#runtime-cache Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.