[wp-trac] [WordPress Trac] #63748: Site Health test for page caching lacks headers for detection

WordPress Trac noreply at wordpress.org
Fri Feb 20 21:13:16 UTC 2026


#63748: Site Health test for page caching lacks headers for detection
-----------------------------+--------------------------
 Reporter:  vincentbreton    |       Owner:  westonruter
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:  7.0
Component:  Site Health      |     Version:  6.1
 Severity:  normal           |  Resolution:  fixed
 Keywords:  has-patch        |     Focuses:  performance
-----------------------------+--------------------------

Comment (by westonruter):

 In [changeset:"61711" 61711]:
 {{{
 #!CommitTicketReference repository="" revision="61711"
 Site Health: Improve page cache detection with added header and refined
 verification logic.

 - Use a more precise regular expression for identifying "HIT" statuses to
 avoid false positives (e.g., "no-hit").
 - Add specific verification logic for Varnish's `X-Varnish` header.
 - Use a `null` value in the header mapping to indicate a header existence
 check, when no callback is supplied.
 - Improve documentation with links for information about certain headers.

 Developed in https://github.com/WordPress/wordpress-develop/pull/10855

 Follow-up to [61355], [54043].

 Props westonruter, dmsnell.
 See #63748.
 Fixes #64370.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/63748#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list