Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Release: Change Requests 2.1.9 Minor update available for module change_requests (2.1.9). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

Advanced Internal Page Cache

32 sites Security covered Drupal 9–11
View on drupal.org

This module improves Drupal's internal page caching by allowing you to create contextual cache IDs. It provides a framework for custom modules to define additional cache ID parts based on specific needs, like user cookies or IP addresses.

General

The Advanced Internal Page Cache module allows one to leverage Drupal core's page_cache module to build a contextual cache id.

Technical implementation

The Advanced Internal Page Cache module makes use of the Service Collector pattern and allows a service definition to be tagged with the advanced_page_cache_cid tag.

The module contains two dummy example modules (cookie_page_cache and ip_page_cache).

How to use

* Create a custom module
* Create a .service.yml definition file
* Use class directive to define a class
* Use tags directive to tag with advanced_page_cache_cid
* Use arguments directive to pass the contextual cache id value
* Create a class that implements AdvancedPageCacheInterface
* Implement the method getAdditionalCacheIdPart that returns the cache id part

Resources

Depends on

Dependencies of the latest stable release

  • page_cache Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
1
Tracked since
Feb 2026
Latest release
6 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Core Release date
2.0.1 Stable 9–11 Feb 18, 2026