Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Cache Control Headers

No security coverage Under active development 24 sites

This module allows administrators to customize the Cache-Control headers sent with web pages. It provides separate configurations for cached and uncached pages, and also allows setting a maximum age for anonymous user caches.

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.

Ask your assistant about Cache Control Headers

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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

Tracked releases
2
Tracked since
May 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

Releases

Version Type Core PHP Release date
1.0.2-alpha4 Pre-release 9–10 May 24, 2024
1.0.x-dev Dev 9–10 May 23, 2024