What is the Actual Way to Cache BuddyPress Properly?
Page caching is out (unless only active on static pages).
From what I’ve read, several BuddyPress guides advocate for object caching, and so I was about to setup Redis.
After looking a bit more, it seems object caching isn’t universally recommended. Some people are saying they experience issues with object caching, and the moderator here, shanebp, has stated several times against object caching:
shanebp: But, object caching for WP can cause issues with BP because the object is not refreshed on a reload or ajax call.
Even if you set the cache to refresh every few seconds, there will still be issues like the one you found.
And page caching is much worse.
Is there any recommended means to cache without problems for BuddyPress? Or is the answer to just not cache at all and to pay more in more server resources to make up for it?
I’m about finished my site but have been holding off releasing until I get caching implemented correctly; for one, I do worry all those Xprofile searches are going to cause problems.
- You must be logged in to reply to this topic.