Skip to content

Flush object cache groups#2969

Closed
tillkruss wants to merge 14 commits intoWordPress:trunkfrom
tillkruss:flush-cache-groups
Closed

Flush object cache groups#2969
tillkruss wants to merge 14 commits intoWordPress:trunkfrom
tillkruss:flush-cache-groups

Conversation

@tillkruss
Copy link
Copy Markdown
Member

Replacement for #2368.

Resolves WordPress/performance#38.

Trac ticket: https://core.trac.wordpress.org/ticket/4476


This Pull Request is for code review only. Please keep all other discussion in the Trac ticket. Do not merge this Pull Request. See GitHub Pull Requests for Code Review in the Core Handbook for more details.

@spacedmonkey spacedmonkey self-requested a review July 12, 2022 11:25
@spacedmonkey
Copy link
Copy Markdown
Member

This is already looking good. Added some early feedback. The unit test failure, you may want to look into that.

@tillkruss tillkruss marked this pull request as ready for review July 12, 2022 15:49
Copy link
Copy Markdown
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

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

@tillkruss Idea-wise this looks good to me, however I think the API is overly complicated mostly due to its uncommon array support. I think we should remove that.

Copy link
Copy Markdown
Member

@spacedmonkey spacedmonkey left a comment

Choose a reason for hiding this comment

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

This looks good to me

Copy link
Copy Markdown
Member

@felixarntz felixarntz left a comment

Choose a reason for hiding this comment

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

@tillkruss Looks great now, thanks for the updates!

@spacedmonkey
Copy link
Copy Markdown
Member

Marking a ready to commit.

Copy link
Copy Markdown
Contributor

@peterwilsoncc peterwilsoncc left a comment

Choose a reason for hiding this comment

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

As with the others this LGTM.

I've added an inline suggestion for a minor formatting change of the docblock. Mainly to keep the formatting nice on the developer docs.

@spacedmonkey
Copy link
Copy Markdown
Member

Committed

@tillkruss tillkruss deleted the flush-cache-groups branch July 23, 2022 01:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Support flushing cache groups

4 participants