[wp-trac] [WordPress Trac] #56041: Port Audit Full Page Cache from performance plugin to core
WordPress Trac
noreply at wordpress.org
Wed Aug 31 22:44:20 UTC 2022
#56041: Port Audit Full Page Cache from performance plugin to core
--------------------------------------+--------------------------
Reporter: furi3r | Owner: furi3r
Type: enhancement | Status: closed
Priority: normal | Milestone: 6.1
Component: Site Health | Version:
Severity: normal | Resolution: fixed
Keywords: has-patch has-unit-tests | Focuses: performance
--------------------------------------+--------------------------
Changes (by flixos90):
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"54043" 54043]:
{{{
#!CommitTicketReference repository="" revision="54043"
Site Health: Introduce page cache check.
This changeset adds a new `page_cache` check which determines whether the
site uses a full page cache, and in addition assesses the server response
time. If no page cache is present and the server response time is slow,
the check will suggest use of a page cache.
A few filters are included for customization of the check:
* `site_status_good_response_time_threshold` filters the number of
milliseconds below which the server response time is considered good. The
default value is based on the `server-response-time` Lighthouse audit and
can be altered using this filter.
* `site_status_page_cache_supported_cache_headers` filters the map of
supported cache headers and their callback to determine whether it was a
cache hit. The default list includes commonly used cache headers, and it
is filterable to support e.g. additional cache headers used by specific
vendors.
Note that due to the nature of this check it is only run in production
environments.
Props furi3r, westonruter, spacedmonkey, swissspidy, Clorith.
Fixes #56041.
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/56041#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list