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

Cache Features

* Support for shared cache max age (s-maxage)
* Support for Surrogate-Control (Fastly CDN) (2.x only)
* 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)

Revalidation Features

* Support for stale-if-error allowing cache proxies to server stale cache in place of an error from Drupal for a fixed period of time.
* Support for stale-while-revalidate allowing cache proxies to serve stale cache to other users while a cached item is being revalidated.

Variation
This module allows you to add arbitrary headers to the Vary response header to variate upstream cache by the type of request headers sent.

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

Project Usage
4155
Creation Date
Changed Date
Security Covered
Covered By Security Advisory
Version Available
Production
Module Summary
This module aims to solve the fine grain control of Drupal's Cache Control headers.
Data Name
http_cache_control

OPENAI CHATBOT

OPENAI CHATBOT

14:31:54
Generic Chatbot
Hi, I'm a Drupal module expert powered by OpenAI, answering your questions about the Drupal module ecosystem. How can I be helpful today? Please note that we will log your question.