deco-cms-layout-caching

Official

Cache layout sections to cut CMS calls.

Authordecocms
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Cache layout sections (Header, Footer, Theme, etc.) in @decocms/start to avoid redundant CMS resolutions and expensive API calls on every navigation.

Core Features & Use Cases

  • Multi-layer caching: page inflight dedup, resolved layout cache, and layout loader cache to minimize repeated resolutions and shelves API requests.
  • Targeted optimization: focus on layout-heavy sections that appear on every page (Header, Footer, Theme) to dramatically reduce latency.
  • Use Case: When PDP/NAV transitions would previously trigger identical Header shelves fetching new data, this cache returns the already-resolved layout.

Quick Start

Integrate the layout caching by registering the layout sections in setup.ts and monitor cache hits during navigation.

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