HTTP Cache Control module helps fine grain control of Drupal's Cache Control headers.

Features

  • Support for shared cache max age (s-maxage)
  • Ability to set cache lifetime of 404 pages
  • Ability to set cache lifetime of 302 Redirects
  • Ability to set cache lifetime of 500 level error pages (when in control by Drupal)

Installation/Configuration

Simply download and install this module as per normal. Then go to the performance configuration page (admin > configuration > performance) and set the cache lifetimes accordingly.

Caution

This is an advanced module, care should be taken when fine tuning cache control headers. Please consider reading the HTTP spec on Cache Control headers: https://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html

Supporting organizations: 

Project information

Downloads