drupal-cache-contexts
Installation
SKILL.md
Drupal Cache Contexts
Cache contexts define request-dependent cache variations. Analogous to HTTP Vary header.
When to Use
- Content varies by user role or permissions
- Content changes based on URL parameters
- Multi-language sites with localized content
- Theme-dependent rendering
- Preventing cache explosion from overly broad contexts