drupal-cache-maxage

Installation
SKILL.md

Drupal Cache Max-Age

Max-age defines time-based cache validity in seconds.

When to Use

  • Caching external API data with known refresh intervals
  • Time-sensitive content (countdowns, live scores)
  • Understanding why anonymous pages stay cached
  • Debugging UNCACHEABLE responses

Critical Behavior

Page Cache ignores max-age - Only uses tags for invalidation. Dynamic Page Cache respects max-age - max-age:0 causes UNCACHEABLE. Max-age bubbles up - Minimum value wins across render tree.

Max-Age Values

Related skills

More from sparkfabrik/sf-awesome-copilot

Installs
17
GitHub Stars
1
First Seen
Jan 26, 2026