deco-vtex-fetch-cache

Official

In-memory SWR cache for VTEX GET calls.

Authordecocms
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Provides an in-memory SWR cache for VTEX GET requests to reduce duplicate network calls, lower latency, and ensure consistent data during SSR.

Core Features & Use Cases

  • In-memory SWR caching for VTEX GET endpoints to reduce redundant requests
  • In-flight deduplication with background refresh (stale-while-revalidate)
  • LRU eviction and HTTP-status-based TTL with integration to fetchWithCache and vtexCachedFetch

Quick Start

Start using vtexCachedFetch for your VTEX GET calls to enable in-memory caching with SWR semantics.

Dependency Matrix

Required Modules

None required

Components

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: deco-vtex-fetch-cache
Download link: https://github.com/decocms/deco-start/archive/main.zip#deco-vtex-fetch-cache

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.