Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
It seems unnecessarily complex that the "X-Drupal-Cache: HIT" and "X-Drupal-Cache: MISS" headers are sent in different bootstrap phases. When they were first added in revision 1.276 in #147310: Implement better cache headers for reverse proxies they were both sent in DRUPAL_BOOTSTRAP_LATE_PAGE_CACHE, but since then they have "drifted". Let's bring them back together.
Comment | File | Size | Author |
---|---|---|---|
x-drupal-cache-1.patch | 2.42 KB | c960657 | |
Comments
Comment #1
Dries CreditAttribution: Dries commentedThis looks good to me. Committed to CVS HEAD. Thanks.