deco-edge-caching

Official

Tune edge caching for Deco storefronts.

Authordecocms
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Complete edge caching infrastructure for Deco storefronts on Cloudflare Workers, coordinating worker-entry caching, cache headers, and route defaults to improve performance and reliability.

Core Features & Use Cases

  • Edge cache: caches full HTML at the edge and uses cacheHeaders to control TTLs per profile.
  • Loader and client caches: coordinates data loading and route data with routeCacheDefaults and cacheHeaders for fast navigations.
  • Operational scenarios: deployment of worker-entry with custom overrides, purge APIs, and diagnostic headers for cache HIT/MISS.

Quick Start

Configure your Cloudflare Worker entry by wiring createDecoWorkerEntry with cacheHeaders, routeCacheDefaults, and custom URL patterns to enable edge caching for Deco storefronts.

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

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.