This module generates a configurable Cache Tags Header for the HTTP header response of a URL request.

The output of Cache Tags in Drupal Core is a debug setting, that need to be activated in a service.yml file, and the output is not configurable by default. This module outputs Cache Tags, with configurable name and delimiter, all you need to do is activate the module.

Do you need it?

If you need to expose Cache Tags to a proxy caching solution like Varnish, Key CDN etc., this could be a solution for you. Cache Tags should not be exposed direct to browsers because the header can get rather big, and that should only be done for debugging. The Cache Tags Header should be removed by the proxy cache before the request is sent to the browser. Here is an example VCL for Varnish doing that.

Usage

Could be used together with any caching solution that handles Cache Tags, because of configurable header, like Cache-Tags, Cache-Tag or whatever you need. Also configurable delimiter, so the tags could be separated with commas or spaces.

This module does not purge, for that you need solution like Purge module or something similar.

Supporting organizations: 
Payed time

Project information

  • caution Seeking co-maintainer(s)
    Maintainers are looking for help reviewing issues.
  • caution Maintenance fixes only
    Considered feature-complete by its maintainers.
  • chart icon3 sites report using this module
  • Created by misc on , updated
  • shieldStable releases for this project are covered by the security advisory policy.
    There are currently no supported stable releases.

Releases