• Resolved teszter

    (@teszter)


    Many of my readers report that they are randomly getting cached pages when they are logged in and they can not access pages that are require login.

    Caching for logged in users is disabled – of course – and I already tried to add some cookies and pages to the exception list, but nothing helps:

    View post on imgur.com

    I’ve also disabled database and object cahing hoping that helps, but not.

    Here is my exported configuration file: https://goo.gl/2PCy9N

    I think it is a cookie problem, but i’m not sure. Please help 😉

    https://wordpress.org/plugins/w3-total-cache/

Viewing 15 replies - 1 through 15 (of 17 total)
  • It might be your browser cache settings try logging in on a browser that is in incognito mode and tell me what it is doing.

    Thread Starter teszter

    (@teszter)

    With another browser they can log in, but soon they face the same problem.

    This sounds a little isolated but you could try using the roles and selecting all of them to see if it makes any changes.

    Thread Starter teszter

    (@teszter)

    OK, we will see… i’ll report back if it helps or not.

    Thank You

    Thread Starter teszter

    (@teszter)

    Did not help. I tried to disable the browsercache completly too, but the problem still presists.

    Any other idea?

    If you have disabled all the caching modules and its still happening, then this is likely not at fault from the plugin. You could just exclude those pages from the page cache menu to see if that helps.

    Thread Starter teszter

    (@teszter)

    I didn’t disabled all the modules. The Page Cache is still active.
    I have already added some pages to the exceptions list, but the problem still persists on those pages too.

    View post on imgur.com

    I need the Page Cache, so don’t ask me to disable that please. There must be another solution.

    You have the wrong syntax that’s why.
    /forums/*
    /members/*
    /groups/*

    Add the pages like that

    Thread Starter teszter

    (@teszter)

    Thank You!
    I give it a try…

    Thread Starter teszter

    (@teszter)

    Still the same :/

    Can I get a screenshot about what specifically is messing up.

    Thread Starter teszter

    (@teszter)

    I can’t make a screenshot about a behavior but i’m going to try to explain it: When users log in and then visit some pages, sometimes they get the cached, logged-out version of the page so they can’t add comments or use other functions that requires login.

    Strangely it happens randomly and I can’t reproduce the error directly, but readers are reporting it many times daily, with different browsers.

    Thread Starter teszter

    (@teszter)

    I think i’ve found the solution!
    We have to restart the NGINX to apply the changes because the .conf does not apply automatically. #facepalm
    I’ll report back if it worked.

    -.-

    Thread Starter teszter

    (@teszter)

    It works! No more login problems reported. 😉

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Logged in users getting cached pages’ is closed to new replies.