Cache Control Headers
The Cache Control Headers module allows site administrators to finely tune Drupal's Cache Control headers, both for cached and uncached pages. Leveraging the core FinishResponseSubscriber service, it seamlessly integrates the configured Cache-Control headers from the module's settings into the rendering process.
Features
- Configurable Cache Control Headers for Cached pages for Anonymous users.
- Configurable Cache Control Headers for Uncached pages such as for Authenticated users.
- Configurable Max-age for Anonymous cache.
Post-Installation
Simply download and install this module as per the normal procedure. The module would be setup with the Drupal's core Cache-Control headers in the settings. Then go to the configuration page (/admin/config/cache_control_headers/settings) and modify the cache-control headers as necessary.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.2-alpha4 | Pre-release | May 24, 2024 | ||
| 1.0.x-dev | Dev | May 23, 2024 |