#56041 closed enhancement (fixed)
Port Audit Full Page Cache from performance plugin to core
Reported by: |
|
Owned by: |
|
---|---|---|---|
Milestone: | 6.1 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Site Health | Keywords: | has-patch has-unit-tests has-dev-note |
Focuses: | performance | Cc: |
Description
As part of the performance module life cycle, we want to port this site health check to the core.
https://github.com/WordPress/performance/tree/trunk/modules/site-health/audit-full-page-cache
Attachments (1)
Change History (26)
#1
@
3 years ago
- Summary changed from Port Persistent Object Cache Health Check from performance plugin to core to Port Audit Full Page Cache from performance plugin to core
#2
@
3 years ago
- Milestone Awaiting Review deleted
- Resolution set to duplicate
- Status changed from new to closed
#3
@
3 years ago
- Resolution duplicate deleted
- Status changed from closed to reopened
@hellofromTonya I did a mistake when creating the ticket with the same title as the previous one, but updated after. This is indeed another Trac ticket (see the difference in the title), also the link to a different module.
Performance GH issue link: https://github.com/WordPress/performance/issues/391
#4
@
3 years ago
- Milestone set to Awaiting Review
Aha, yeah, it looked like a duplicate. Thanks @furi3r for updating it. Cheers :)
This ticket was mentioned in PR #2894 on WordPress/wordpress-develop by manuelRod.
3 years ago
#5
- Keywords has-patch has-unit-tests added
Introducing Full Page Cache check into Site Health
Trac ticket: #56041
manuelRod commented on PR #2894:
3 years ago
#6
@Clorith @swissspidy @spacedmonkey feedback applied.
- Consistent and accessible badge color policy.
- Fixed translation comments.
- Do we need to use wp_safe_remote_get?
#7
@
2 years ago
- Milestone changed from Awaiting Review to 6.1
- Owner set to furi3r
- Status changed from reopened to assigned
manuelRod commented on PR #2894:
2 years ago
#8
@felixarntz thanks for the feedback. I've replaces all "page caching" appearances with "page cache".
manuelRod commented on PR #2894:
2 years ago
#9
@felixarntz I've updated the PR with trunk and solved the conflicts. All good!
felixarntz commented on PR #2894:
2 years ago
#11
Committed in https://core.trac.wordpress.org/changeset/54043.
#12
@
2 years ago
- Keywords needs-dev-note added
- Resolution fixed deleted
- Status changed from closed to reopened
Reopening this for the necessary dev note. It makes sense to cover this together with #56040 in a single dev note.
#14
@
2 years ago
Looks like there is a test in here that is sometimes failing, as seen in https://github.com/WordPress/wordpress-develop/runs/8125555737. We have been discussing this in https://wordpress.slack.com/archives/C02RQBWTW/p1661992665658499, potentially the problem is a timing issue with the data provider and when the test is executed (since the value there is set to 10 minutes later, but the test suite often takes longer than that). We can't reproduce that consistently, but will attempt setting it to HOUR_IN_SECONDS
instead.
@
2 years ago
Fixes the @return
type for the 'site_status_page_cache_supported_cache_headers' filter and uses str_contains()
(polyfilled in WP 5.9)
#16
@
2 years ago
On my travels, I noticed that the documented @param
for the 'site_status_page_cache_supported_cache_headers' filter was int
, but should be array
.
Also suggest using str_contains()
(polyfilled in WP 5.9) instead of false !== strpos()
for readability.
#17
@
2 years ago
Also just a brief heads up: A run of Tests_Site_Health::test_object_cache_default_thresholds() failed on an unrelated PR. This might've been a blip, but just drawing attention to this in case it needs more investigation.
#19
@
2 years ago
Is the only thing remaining here a dev note? It's not clear if 56041.diff was in [54047]. If only the dev note remains, let's close this out ahead of beta 1 today and use the keyword to keep track of this.
This ticket was mentioned in Slack in #core by jeffpaul. View the logs.
2 years ago
#21
@
2 years ago
- Resolution set to fixed
- Status changed from reopened to closed
As discussed ahead of today's scheduled 6.1 Beta 1 release party (see the Slack link above), it was deemed that this ticket was good to be closed and if something other than a dev note is required it could be handled in a new ticket or reopen this ticket as necessary.
Duplicate of #56040.