headless-caching-strategy
OfficialStrategize caching for fast headless VTEX apps.
Authorvtexdocs
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Headless VTEX storefronts often struggle to balance performance and data freshness. Without a clear caching strategy, API calls hit origin services too frequently, leading to increased latency, higher costs, and potential rate-limit issues.
Core Features & Use Cases
- Classify VTEX API responses by cacheability to drive TTLs and invalidation.
- Define appropriate TTLs and stale-while-revalidate (SWR) patterns for CDN, BFF, and edge caches.
- Provide an invalidation framework using webhooks, events, and manual purges to keep data fresh.
- Guide architecture decisions that separate cacheable public data from non-cacheable transactional data.
Quick Start
Configure CDN edge caching and a BFF cache with TTLs and event-driven invalidation for a headless VTEX storefront.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 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: headless-caching-strategy Download link: https://github.com/vtexdocs/ai-skills/archive/main.zip#headless-caching-strategy 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 471,000+ vetted skills library on demand.