• Resolved sohamagarwal00

    (@sohamagarwal00)


    Hey there,

    Thank you for the great plugin. I have a doubt, similar to someone who asked this before. Basically I use user menus for showing logged in users , the profile button and the logged out users the login button.Sometimes however (I think due to cache) it shows quite the opposite (doesn’t show you logged in even if you are). On the support page of user menus it asked people to “support regex in the Cookie Exclusion field”. Im not entirely sure on the technical aspects of this, but is there a way you can fix this? This seems to be the only issue bothering me.(I can provide details if needed)

    Thanking you,
    Soham

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sohamagarwal00

    Thank you for yo9ur inquiry and I am happy to assist you with this.
    First, make sure to enable the “Don’t cache page for logged in users” in Performance>Page Cache>General. This will ensure that the pages are not being cached for logged in users.
    YOu should also disable the “Set expires header” option In Performance>Browser Cache>HTML&XML section, save all settings and purge the cache.
    I can see that you are also using Cloudflare. There should not be any issues with it but you should make sure that the Cloudflare Browser Cache TTL in the Cloudflare dashboard is set to respect the existing headers.
    Please let me know if the issue persists after these steps.
    Thanks!

    Thread Starter sohamagarwal00

    (@sohamagarwal00)

    Hey there,

    So according to a previous post I saw I set ,Set Last-Modified header,Set expires header, Set cache control header to OFF. Is that alright? And yes “Don’t cache page for logged in users” is enabled.

    Thanking you,
    Soham

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @sohamagarwal00

    Yes, correct, you should set, the Set Last-Modified header, Set expires header, Set cache-control header to OFF meaning to untick the checkboxes of the mentioned options in Performance>Browser Cache>HTML&XML section save all settings, and purge the cache.
    Thanks!

    Thread Starter sohamagarwal00

    (@sohamagarwal00)

    Alright done! Thank you for your help!!!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    You are most welcome!

    We would really appreciate it if you could take a minute and post a review?here. This will help us to continue offering a top-notch product to users.
    Thanks!

    Thread Starter sohamagarwal00

    (@sohamagarwal00)

    Done!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘How to disable caching for logged in button’ is closed to new replies.