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_searchcalls 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