[buddypress-trac] [BuddyPress Trac] #8590: Various object cache groups are called upon, but were never actually created
buddypress-trac
noreply at wordpress.org
Wed Nov 2 16:40:26 UTC 2022
#8590: Various object cache groups are called upon, but were never actually
created
--------------------------+----------------------
Reporter: nickchomey | Owner: dcavins
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 11.0.0
Component: Performance | Version: 9.1.1
Severity: normal | Resolution: fixed
Keywords: has-patch |
--------------------------+----------------------
Changes (by dcavins):
* status: assigned => closed
* resolution: => fixed
Comment:
I looked through the cache changes that were made in the BuddyBoss PR and
didn't find any changes that I could backport. In several cases, cache
mechanisms already existed in BP and hadn't been updated in the related
code in BuddyBoss. In other cases, we already are caching objects at a
higher level, and adding a redundant cache at the query occurrence
wouldn't add anything.
It does look like `BP_Blogs_Blog::get()` could use some improved caching,
like adding a `bp_core_get_incremented_cache()` call after the SQL
statement is built. So maybe a new ticket should be added for just that
component.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/8590#comment:13>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac
More information about the buddypress-trac
mailing list