INTEREST JOURNAL DRUPAL & WEB

Drupal Guide in Detail: 12.1 Understanding Cache and Its Different Layers

About 300 words 2 min read

Japanese ↗
On this page

Detailed guide. An unofficial adaptation of User Guide 12.1. Source updated April 14, 2025; reviewed November 6, 2026. No running-Drupal procedure test has been performed.

Official source ↗ · Chapter 12 overview · Next: 12.2 Clearing and Rebuilding Cache

Why page caches exist

Database retrieval and rendering take time. Caches store intermediate or final results for compatible later requests. Core Internal Page Cache and Dynamic Page Cache work without additional server software. The source describes database storage; configured backends can differ.

Changes invalidate affected cached data so it can be recomputed. Stale output, corrupted output and insufficient reuse are different problems to investigate.

Other cached information

Theme/template discovery, CSS/JavaScript aggregates and module hook or plugin discovery also use caches, independently of those page-cache modules. See 12.2 .

Aggregate compression update

Change 3526344 ↗ introduces Drupal 11.4 Brotli support for CSS/JS aggregates and unified compress settings. Generation depends on PHP extensions; delivery depends on server configuration. Updated Apache rules and custom/Nginx setups require different checks. This is separate from page caching.

Our verification examples

Distinguish Drupal, browser and proxy/CDN layers. Record reproduction conditions and changed code or configuration instead of repeatedly clearing caches without diagnosis. Allow for regeneration load after rebuilding.

Sources, credits and changes

Source: Drupal User Guide 12.1 ↗ . Contributors and source links listed in its Attributions: Jennifer Hodgdon ↗ . Refer to the source for writing, editing and adaptation roles, and to the guide-wide credits ↗ .

Copyright remains with the individual contributors; the official copyright page ↗ states © 2015–2025. Changes include reorganized explanations and procedures, our preparation and verification examples, troubleshooting notes, source-interpretation qualifications and release references. Original screenshots and videos are not reproduced. This adapted text is shared under CC BY-SA 2.0 . It is not an official edition or endorsement. This notice does not license unrelated articles or the site design.

Chapter 12 overview · Next: 12.2 Clearing and Rebuilding Cache

Chapter 11 details · Chapter 13 · All chapters · Search official information

Back to chapter contents ↗