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

Available Contexts

Installs
24
GitHub Stars
3
First Seen
Jan 26, 2026
drupal-cache-contexts — sparkfabrik/sf-agents-harness