Download & Extend

Tiny bootstrap clean-up

Project:Drupal core
Version:7.x-dev
Component:base system
Category:task
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:Quick fix

Issue Summary

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.

AttachmentSizeStatusTest resultOperations
x-drupal-cache-1.patch2.42 KBIdlePASSED: [[SimpleTest]]: [MySQL] 20,346 pass(es).View details

Comments

#1

Status:needs review» fixed

This looks good to me. Committed to CVS HEAD. Thanks.

#2

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.