http-cache-tools

Diagnose Drupal HTTP caching by inspecting response headers and cache metadata.

3|5|Updated Jan 8, 2026
One-click install
npx skills add https://github.com/sparkfabrik/sf-awesome-copilot --skill http-cache-tools
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: http-cache-tools
Source: https://github.com/sparkfabrik/sf-awesome-copilot/tree/main/skills/drupal/cache/http-cache-tools
Command: npx skills add https://github.com/sparkfabrik/sf-awesome-copilot --skill http-cache-tools

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Drupal caching can obscure performance and correctness issues; this toolset provides structured guidance to observe, diagnose, and verify HTTP cache behavior in Drupal apps, including how headers influence page and dynamic caches in SparkFabrik environments.

Core Features & Use Cases

  • Inspect cache headers (X-Drupal-Cache, X-Drupal-Dynamic-Cache, Cache-Control, Age) to determine cache status and validity.
  • Compare anonymous vs authenticated requests to understand cache variations and privacy implications.
  • Debug UNCACHEABLE or partially cached pages, identify high-cardinality contexts, and verify cache invalidation workflows.
  • Provide reusable procedures for real-time monitoring and multi-URL cache validation during development and testing.

Quick Start

Use the SparkFabrik drupal-tools container to run cache-diagnostic commands against the Drupal nginx service and verify headers and cache status.

Frequently Asked Questions about http-cache-tools

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug Drupal HTTP cache headers for anonymous vs authenticated requests?

Debug Drupal HTTP cache by inspecting response headers like X-Drupal-Cache and X-Drupal-Dynamic-Cache using curl to compare anonymous versus authenticated requests and verify cache validity.

What do X-Drupal-Dynamic-Cache and Cache-Control headers tell me about page caching?

X-Drupal-Dynamic-Cache and Cache-Control headers reveal whether a Drupal response is cached, its current age, and if high-cardinality contexts are preventing full page cache utilization.

How can I diagnose a Drupal page returning UNCACHEABLE or partially cached responses?

Diagnose UNCACHEABLE Drupal responses by inspecting cache metadata to identify high-cardinality contexts, verify cache invalidation workflows, and debug dynamic versus page cache behavior.

Do I need the SparkFabrik drupal-tools container to run cache diagnostic scripts?

Yes, you need the SparkFabrik drupal-tools environment and container access via make drupal-cli to run built-in cache-debug scripts and validate cacheability against the nginx service.

How do I validate HTTP cache invalidation workflows across multiple Drupal URLs?

Validate HTTP cache invalidation across multiple Drupal URLs by running reusable diagnostic procedures for real-time monitoring and multi-URL cache validation during development and testing.