• Resolved m22878

    (@m22878)


    Is this a known issue? Everything works as expected in Page Rule mode, but in Worker mode, it’s very buggy.

    For instance, I can purge CF cache, clear browser cache and visit ten pages in Chrome, then go back over the 10 pages to confirm they were cached and load instantly, then leave the site for 10-30 minutes, come back and some of the pages still load instantly, some say HIT but have a slight delay in loading, and some of them say DYNAMIC. I have repeated this over and over many times.

    Another example, if I were to open Firefox or Edge after confirming the 10 pages were cached while using Chrome, those same 10 pages might return as DYNAMIC instead of HIT, or sometimes they might return as HIT, but it’s not 100% of the time like happens in Page Rule mode.

    In Page Rule mode, everything just works like you would think. If you cache a page by visiting it in one browser you can instantly open that page in another browser and it loads instantly, just like you would think it should.

    If you open 10 pages then leave the site and come back all 10 pages load instantly, just like you would think they would, since the CF cache hasn’t expired and you haven’t purged it.

    Does worker mode have any known stability issues? Is it possible to combine page rule with worker mode? I only want worker mode so I don’t have to use the cache buster for logged in users, which I think is sort of buggy, in that, the cache buster doesn’t always automatically show up in the URL when you start viewing the site while logged in. Sometimes it takes a few clicks and then sometimes it still doesn’t have the cache buster.

    • This topic was modified 9 months, 3 weeks ago by m22878.
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter m22878

    (@m22878)

    I tried to use the new Cache Rules configuration, disabling the Page Rule for cache everything and removing the cache buster, but it seems just as unstable as the worker mode. So I switched back on the Page Rule and simply added a Cache Rule to BYPASS all the cookies listed in the Worker, and now it seems to be working great. The page exclusions i.e. cart, checkout i.e. functionality in the plugin will still take care of those pages, right? I’m simply using the Page Rule to cache everything and then one Cache Rule which says to BYPASS the cache if any of the cookies are on the page, which includes wordpress_logged_in_ among others.

    • This reply was modified 9 months, 3 weeks ago by m22878.
    • This reply was modified 9 months, 3 weeks ago by m22878.
    Plugin Contributor iSaumya

    (@isaumya)

    If you are having cache issue please share the page URL so that we are able to replicate the issue on our end and then look into the reason behind it.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Inconsistent caching in Worker mode’ is closed to new replies.