drupal-cache-contexts
OfficialContain Drupal cache with precise contexts.
Authorsparkfabrik
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Cache contexts define request-dependent cache variations. Analogous to HTTP Vary header.
Core Features & Use Cases
- Contexts: user, user.roles, user.permissions, url.path, url.query_args:key, languages:language_interface, theme, session
- Rule: Always use the most specific context possible to prevent cache explosion.
- Example: Combine roles and language contexts to vary content rendering per user group and locale.
Quick Start
Configure the Drupal render path to apply the most specific cache contexts for your content.
Dependency Matrix
Required Modules
None requiredComponents
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: drupal-cache-contexts Download link: https://github.com/sparkfabrik/sf-awesome-copilot/archive/main.zip#drupal-cache-contexts Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.