deco-cms-layout-caching

Installation
SKILL.md

CMS Layout Section Caching

Multi-layer caching strategy for layout sections (Header, Footer, Theme, etc.) across @decocms/blocks and @decocms/tanstack. These sections appear on every page but rarely change — caching them eliminates the biggest source of redundant API calls.

When to Use This Skill

  • Server logs show repeated intelligent-search/product_search calls for Header shelves on every navigation
  • Variant changes trigger full CMS resolution including Header/Footer
  • [CMS] logs show the same sections being resolved multiple times
  • PDP load takes >2s and most time is spent on layout section loaders
  • Setting up a new Deco site and want optimal caching from the start

Architecture: 3 Caching Layers for Layout Sections

Installs
3
Repository
decocms/blocks
GitHub Stars
5
First Seen
Mar 11, 2026
deco-cms-layout-caching — decocms/blocks