Active
Project:
Cache Control
Version:
7.x-2.0-rc1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
16 Oct 2014 at 09:37 UTC
Updated:
10 May 2019 at 04:02 UTC
Jump to comment: Most recent
Cache-Control s-max-age parameter tells how long a shared cache (in this case Varnish is a shared cache) can keep an object in its storage. Varnish already has support for s-max-age but CC doesn't use it. Please consider adding a feture to CC that makes possible to define a separate TTL setting for browsers' caches (with max-age parameter) and for Varnish cache (with s-max-age parameter).
Comments
Comment #1
neetu morwani commentedAny update on this feature? +1 for this.
Comment #2
eric.chenchao commentedHere is a module in Drupal 8 providing s-max-age support: https://www.drupal.org/project/http_cache_control