• Resolved Kparth3000

    (@eforreal79)


    Hi, great plugin by the way. Please, is it possible to auto-purge a logout user so that their information is not shown to anyone who visits our website?

    And sometimes too, the website won’t show users information when they login to the website, even when it indicates that a user is logged in. Can you also help with that?

    And we did turn-off cache logged in users and Cache Login Page, but that did not help

    Thanks

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support qtwrk

    (@qtwrk)

    Hi,

    Could you please provide the report number ?

    You can get it in toolbox -> report -> click “send to LiteSpeed”

    Best regards,

    Thread Starter Kparth3000

    (@eforreal79)

    Here it is: SWKWFGWX

    Thanks

    Thread Starter Kparth3000

    (@eforreal79)

    Please let me know if you got the report because the system logs off when I click send the report.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    yes, I got the report.

    could you please specify which pages that you want to be purged ?

    Best regards,

    Thread Starter Kparth3000

    (@eforreal79)

    I can’t specify pages because it occurs randomly, and so maybe auto-purge the whole website on log-0ff?

    And is it also possible not to show logged-in users cached pages?

    Best

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    In that case, please try disable “cache login user”

    add this into your theme’s functions.php

    function wpdocs_clear_transient_on_logout() {
        do_action( 'litespeed_purge_all' );
    }
    add_action( 'wp_logout', 'wpdocs_clear_transient_on_logout' );

    this will trigger a purge all action while user log out , but I must say it is not a good approach to purge all like this .

    Best regards,

    Thread Starter Kparth3000

    (@eforreal79)

    I do agree with you, and I am always open to a better option(s). All the same, thanks for the script.

    Plugin Support qtwrk

    (@qtwrk)

    Hi,

    yeah , as for now , best way I can think of is to no-cache buddypress pages.

    Best regards,

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Buddypress Logged out user details are cached for everyone to see’ is closed to new replies.