drupal-cache-tags

Official

Clear, predictable Drupal cache invalidation.

Authorsparkfabrik
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This guide helps Drupal developers implement cache tags to achieve targeted, reliable invalidation across render paths, ensuring updated content is shown when data changes.

Core Features & Use Cases

  • Tag naming conventions: learn standard tag formats for entities (entity_type:id), entity lists (entity_type_list), bundle lists (entity_type_list:bundle), configs (config:config_name), and custom tags (module:identifier).
  • Tag application: apply tags to render arrays, blocks, and cached data to ensure precise invalidation on updates.
  • Debugging and validation: verify cache tags in responses and troubleshoot stale content via common debugging patterns.

Quick Start

Identify a rendering path in your Drupal site and apply tag-based invalidation using the guide's patterns.

Dependency Matrix

Required Modules

None required

Components

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-tags
Download link: https://github.com/sparkfabrik/sf-awesome-copilot/archive/main.zip#drupal-cache-tags

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.