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


  • 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)


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.


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:

Supporting organizations: 

Project information