• Why does a user see a different users dashboard with all their content when turned on? And why when I try with my admin account I do not see this problem? What’s can cause this behavior?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, this issue could be caused by several things. One would be, you are using a specific plugin which generates a custom url for the users dashboard. Another could be that you are forcing the url to be cached. You could exclude this specific URL in the cache settings and make it to either private cached or not cached. If this doesn’t help I’d recommend to open a support ticket.

    Thread Starter renstillmann

    (@renstillmann)

    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.

    Thread Starter renstillmann

    (@renstillmann)

    Issue is still happening, it just alternates the user information. It’s a BuddyPress site. Anyway, I decided to ditch the LiteSpeed caching plugin and use something else. These types of issues never happened before. So definitely a recent bug. Unfortunately I don’t have any time to look into it hence I switch to something else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Showing other users information’ is closed to new replies.