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

neetu morwani’s picture

Any update on this feature? +1 for this.

eric.chenchao’s picture

Here is a module in Drupal 8 providing s-max-age support: https://www.drupal.org/project/http_cache_control