• Hello Emre,

    I have noticed that sometimes a logged out user doesn’t see the updated content of a post. I have tested this on Chrome, Firefox and Edge, both in incognito mode and not. Sometimes the content doesn’t update when refreshing the window or even when closing the window and opening a new one. This happens occasionally and I couldn’t reproduce it now that I tried with the plugin either activated or not. Do you have any idea what could be causing this?

    Best Regards,
    Iraklis

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Emre Vona

    (@emrevona)

    the browser caching must cause this issue. Did you add any browser caching rule into the htaccess file before?

    Thread Starter iraklis13

    (@iraklis13)

    Hi Emre,

    Sorry for late response but I didn’t get any notification. We are using nginx and these are the headers:

    #add expired header everywhere
    location ~* \.(css|js|gif|png|jpg|svg|json|xml|ttf|otf|eot|woff|woff2)$ {
    expires 365d;
    add_header Access-Control-Allow-Origin *;
    try_files $uri $uri/ /index.php?$query_string;
    }
    location ~ \.(ttc|font)$ {
    add_header Access-Control-Allow-Origin *;
    }
    location ~* \.(pdf|swf)$ {
    expires 90d;
    }
    #expiry headers
    location ~* \.(ogg|ogv|svgz|mp4|rss|atom|jpeg|ico|zip|tgz|gz|rar|bz2|doc|xls|exe|ppt|tar|mid|midi|wav|bmp|rtf)$ {
    expires 365d;
    }

    But how could these relate to the state of the user though, whether he is logged-in or logged-out?

    Plugin Author Emre Vona

    (@emrevona)

    can you tell me the url please?

    Thread Starter iraklis13

    (@iraklis13)

    In this post of NLG the first element of the bullet list should be:

    1) Eπεξεργασ?α και αν?πτυξη συλλογ?ν

    which it is only when the user is logged-in. If you open the above link from an incognito window it will show this instead:

    1) Eπεξεργασ?α και αν?δειξη συλλογ?ν

    which is the previous content of the post.

    How is this possible?

    • This reply was modified 5 years, 4 months ago by iraklis13.
    Plugin Author Emre Vona

    (@emrevona)

    Can you see the changes on https://www.browserling.com/ ?

    Thread Starter iraklis13

    (@iraklis13)

    No, still the same. When I open the article in browserling I see the old content and when i log in inside browserling it shows the new content.

    Plugin Author Emre Vona

    (@emrevona)

    it means that the cache is not cleared. Please contact me via email: https://www.wpfastestcache.com/contact-us/

    Thread Starter iraklis13

    (@iraklis13)

    Yes it wasn’t. Shouldn’t it automatically clear cache when post is updated?

    Will contact you via email now for more info.

    Thank you!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Cached content for Logged-Out users’ is closed to new replies.