• Resolved pri2sh

    (@pri2sh)


    I’m on Lite Speed Server (hawkhost) and currently operating multi-vendor website.
    I’m using WooCommerce + Dokan (for multi vendor) + Buddypress.

    The problem is, users are served wrong cache.
    For eg my site has notification area (uses buddypress). After user login is top notification area shows “userA”, but while browsing some internal page, the notification area shows “userB” (from cache) instead of “UserA”.

    I have enabled cache rest api
    and on “Do Not Cache Roles” no role is selected.
    ESI is enabled

    thank you.

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support LiteSpeed Lisa

    (@lclarke)

    Hi, @pri2sh

    Enabling ESI is a good first step. Has the notification area been designated as an ESI block?

    Thread Starter pri2sh

    (@pri2sh)

    I’m not sure about that. Is there any way to do that? or disable buddy press part?

    Plugin Support LiteSpeed Lisa

    (@lclarke)

    Is the notification area a widget? If so, then it’s simple to turn it into an ESI block.

    Navigate to WP Admin > Appearance > Widgets and select the buddy press widget that you want to turn into an ESI block.
    Within the widget settings area, you will see a shaded box entitled “LiteSpeed Cache.”
    Set Enable ESI to Private.
    Set Widget Cache TTL to a value appropriate for the contents of the widget, say 3600.

    If it’s not a widget, then you’d need some coding skills to turn that area into an ESI block. Our API documentation can help in that case.

    If all of this seems like too much, and you are fine with disabling the buddy press part, then that is also an option.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Problem with multiple users/member site’ is closed to new replies.