Hi, thanks for getting back to me, I appreciate it a lot.
It’s a BuddyPress site with dashboard links like:
/members/username1/profile
/members/username2/courses/
There might be other URL’s that I don’t know of. But I find this quite odd. I had private cache enabled yet the logged in user see’s other users information. I personally didn’t have the issue myself when looking into this issue. But at the time I was logged in as Admin, not sure if that makes any difference?
Does it matter if Object Cache is enabled? Or ESI? Or the Quic CDN (doubt this because only servers static files)?
I just turned of cache completely for the time being until I am sure the issue doesn’t happen again. Multiple users reported this exact problem.
I am now thinking about just turning of the cache functionality based on if the user is logged in. But before I do, I need to know if this will actually solve the issue I am having, and that it’s not something to do with Object Cache (Redis/Memcache).
if(is_user_logged_in()){
add_filter( 'litespeed_cache_control_nocache', 'disable_litespeed_cache' );
}
function disable_litespeed_cache() {
return true;
}
Any other suggestions are welcome.
In the meantime I am going to run some more tests on a staging server (cloned) to see if I can figure out what’s happening.