[wp-trac] [WordPress Trac] #57349: Page cache is not detected but the server response time is OK

WordPress Trac noreply at wordpress.org
Sun Dec 18 10:59:39 UTC 2022


#57349: Page cache is not detected but the server response time is OK
-------------------------+-------------------------------
 Reporter:  djav1985     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Site Health  |    Version:  6.0.1
 Severity:  normal       |   Keywords:  changes-requested
  Focuses:               |
-------------------------+-------------------------------
 New site health feature that reports on page cache says "Page cache is not
 detected but the server response time is OK"

 Later expresses that"Page cache is detected by looking for an active page
 cache plugin as well as making three requests to the homepage and looking
 for one or more of the following HTTP client caching response headers:

 cache-control, expires, age, last-modified, etag, x-cache-enabled, x
 -cache-disabled, x-srcache-store-status, x-srcache-fetch-status."

 I do happen to have cache control expires age less modified and e-tags.
 But these are applied by nginx reverse proxy. Wondering why they're not
 detected.. When it checks the page is it running it by using localhost? Or
 does it try from the domain name? I think it should be set up to make a
 request to the actual domain name if it does not say that it would get a
 more accurate view of the headers.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57349>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list