-
Notifications
You must be signed in to change notification settings - Fork 130
Add Site Health check for Full Page Cache usage #263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Site Health check for Full Page Cache usage #263
Conversation
please add |
@manuelRod Since I'm working on updating the language on the other Site Health reports, I took a look at the copy for this one as well and left some thoughts. Let me know if you have any questions! |
Thanks for that @bethanylang, where I can find those thoughts? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me, but it looked good to me in the AMP plugin when I merged it, so I'm probably not the best to review for merging here.
added |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manuelRod Overall the code here looks solid. I left a few minor things for some cleanup, particularly I'd suggest to remove two of the functions that are only used in one place and actually make the code more complex to follow rather than less because of splitting how the $result
is generated.
tests/modules/site-health/audit-full-page-cache/audit-full-page-cache-test.php
Outdated
Show resolved
Hide resolved
tests/modules/site-health/audit-full-page-cache/audit-full-page-cache-test.php
Show resolved
Hide resolved
@bethanylang Would be great to get your review here specifically on the copy in the Site Health check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manuelRod This looks solid and should be close to merge, I mostly have some nit-picks around documentation. Please make sure to update all version references for new code in this PR to n.e.x.t
, per our guidelines.
Last but not least, based on #310, please refresh this PR against latest trunk
and add the corresponding entries for this new module to the CODEOWNERS
file, with at least yourself as the module owner.
tests/modules/site-health/audit-full-page-cache/audit-full-page-cache-test.php
Show resolved
Hide resolved
@manuelRod @westonruter Given that this is an entirely new module and the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@manuelRod Looks good to me, great stuff!
I left a few minor points on documentation and indentation, please address these. None of these are too critical though, so I'm already going to mark this as approved from my end.
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
Co-authored-by: Felix Arntz <felixarntz@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks @manuelRod!
@bethanylang You previously requested changes regarding the copy. Can you please give this another pass and approve once it's good from your end?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Language LGTM!
@felixarntz @manuelRod Apologies if I was a blocker here; just approved on my side. Looks like this is good to go for 1.2.0! 🥳 |
Thanks @bethanylang! |
awesome, thanks guys! |
Summary
Fixes #220
Trac #54423
Relevant technical choices
As @westonruter proposed, I've adapted and migrated the full page caching Site Health test from AMP to the performance plugin.
Checklist
[Focus]
orInfrastructure
label.[Type]
label.no milestone
label.