• Resolved clariealberts

    (@clariealberts)


    Hi,

    The login/logout menu item is being cached and it’s a bit of a problem.

    When a guest user visits the home page, logs in, then revisits the home page, the button still says “logout”. This is fixed by a hard refresh so it is a caching issue. How can I fix this? Thanks.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author cartpauj

    (@cartpauj)

    If the page is getting cached in the browser, then there’s nothing I can do to help. You’ll need to adjust your caching setting to disable whole-page browser caching. Or contact your webhost and see if they set any “Expires” http headers etc in the .htaccess or Apache config files.

    You can see the headers on your site here: https://cspf.co/rf8T/%5B2ff3acb70668e0dba8d32b1953875fba%5D_Image%202018-05-17%20at%202.51.57%20PM.png

    You definitely don’t want to have the browser caching entire pages if you plan to let users login and see different/protected content once logged in.

    Thread Starter clariealberts

    (@clariealberts)

    Thank you so much. Your post helped me identify where to make changes and I think I may have solved it. It does slow down the site loading time, but I guess there’s not much I can do about that?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Login/Logout being cached’ is closed to new replies.