Closed (outdated)
Project:
Drupal core
Version:
7.x-dev
Component:
cache system
Priority:
Minor
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Mar 2015 at 09:59 UTC
Updated:
4 Nov 2016 at 14:57 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
spadxiii commentedThe patch with the default page cache-control header in a variable.
Comment #2
mrharolda commentedCool!
Another option could be to move the variable_get() into the drupal_send_headers() call to give you full control over all headers.
Comment #3
spadxiii commentedUpdated the patch for latest 7.x
Comment #4
tessa bakkerNew patch based on latest dev
Comment #5
mvwensen commentedPatch will not apply on the latest dev, created a new patch.
Comment #8
tessa bakkerTip: Use Metatag module to setup a global or context-specific Control-Cache tag.