FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Site Health check for Full Page Cache usage by manuelRod · Pull Request #263 · WordPress/performance · GitHub

Add Site Health check for Full Page Cache usage - #263

Merged
felixarntz merged 25 commits into
WordPress:trunkfrom
manuelRod:add/sitehealth-test-full-page-cache
Jun 3, 2022
Merged

Add Site Health check for Full Page Cache usage#263
felixarntz merged 25 commits into
WordPress:trunkfrom
manuelRod:add/sitehealth-test-full-page-cache

Conversation

manuelRod commented Mar 24, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

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

  • PR has either [Focus] or Infrastructure label.
  • PR has a [Type] label.
  • PR has a milestone or the no milestone label.

manuelRod marked this pull request as ready for review March 30, 2022 10:01

Copy link
Copy Markdown

please add
'x-aruba-cache' => $cache_hit_callback,
for new aruba hispeed cache service

mxbclang commented Apr 1, 2022

Copy link
Copy Markdown
Contributor

@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!

Copy link
Copy Markdown
Contributor Author

Thanks for that @bethanylang, where I can find those thoughts?

westonruter left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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.

manuelRod added [Focus] Site Health [Type] Feature A new feature within an existing module labels Apr 12, 2022
manuelRod added this to the 1.0.0 milestone Apr 12, 2022

manuelRod commented Apr 12, 2022
edited
Loading

Copy link
Copy Markdown
Contributor Author

please add 'x-aruba-cache' => $cache_hit_callback, for new aruba hispeed cache service

added

felixarntz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@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.

Copy link
Copy Markdown
Member

@bethanylang Would be great to get your review here specifically on the copy in the Site Health check.

felixarntz requested a review from mxbclang April 13, 2022 23:50

felixarntz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@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.

manuelRod requested a review from JustinyAhin as a code owner May 4, 2022 14:21
Comment thread .github/CODEOWNERS Outdated

Copy link
Copy Markdown
Member

@manuelRod @westonruter Given that this is an entirely new module and the 1.1.0 release is about to be finalized with the release coming next week, I think with the remaining iterations to make this won't give us enough time for testing prior to the release, so I think this would be better to include in the following 1.2.0 release. Let's make sure we finalize the PR soon so that it can be merged into trunk shortly after 1.1.0, to have time for testing and potential further iterations.

felixarntz modified the milestones: 1.1.0, 1.2.0 May 10, 2022

akshitsethi commented May 25, 2022
edited
Loading

Copy link
Copy Markdown
Contributor

I tested the module and so far it looks good to me. Multiple scenarios (looback request failed, without cache, with cache plugin) were tested and I've attached the screenshot for each below:

Loopback failure

Without cache

Cache enabled

I'll test some more scenarios and update it over here.

felixarntz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

@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.

felixarntz requested a review from mxbclang May 26, 2022 20:50
manuelRod and others added 4 commits May 30, 2022 13:14
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>

felixarntz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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?

mxbclang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Language LGTM!

mxbclang commented Jun 3, 2022

Copy link
Copy Markdown
Contributor

@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! 🥳

Copy link
Copy Markdown
Member

Thanks @bethanylang!

felixarntz merged commit 6c3e795 into WordPress:trunk Jun 3, 2022
felixarntz changed the title Add Site Health test for full page caching Add Site Health check for Full Page Cache usage Jun 3, 2022

Copy link
Copy Markdown
Contributor Author

awesome, thanks guys!

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Type] Feature A new feature within an existing module

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Site Health test for full page caching (advanced cache)

7 participants


Back | FazBrowse Home | New Git URL