• Resolved mnclient

    (@mnclient)


    We use w3 for page cache (and db, object, and browser cache). We have it set to auto-purge the page cache upon creating/editing front page, posts, pages, and many more. This has always worked without problem.

    However, we recently move everything to a larger server infrastructure with load balancing and NFS. We have an NFS Server and multiple web servers in front of it. Additionally, the new servers now have php 7.3 as opposed to php 5 on the old server.

    Ever since the move, the auto purge doesn’t trigger (or maybe it does but isn’t working?). If we manually empty the cache, it works. It just won’t do it automatically when we add a new post.

    Any ideas why? How we could fix? Or how we could troubleshoot this on a live site?

    Another note, we actually have two separate WordPress sites (not multiple, full separate installs) and both sites are experiencing this exact problem, and both worked on the old server.

    As a side note, we do NOT have “Enable file locking checked” and we also do NOT have “Optimize disk enhanced page and minify disk caching for NFS” checked. I know the latter one might improve performance, but our issue is not performance related, so we haven’t checked that yet.

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

    (@vmarko)

    Hello @mnclient,

    I am sorry about the issue you are experiencing and I am happy to assist you with this.
    NFS is not atomic and often is a source of problems due to timing.
    It looks like purge itself happens since it works manually, but often old content is recreated by another server.
    Check that by updating some post and checking filename in the cache. Its creation date will change shortly.
    In general for multi-server, you should use a memory-based solution (Memcached, Redis) at least for Database/Object cache modules. with central cache storage (not localhost)
    I hope this helps!

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    No activity for a week.
    Marking topic as resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Purge page cache no longer works’ is closed to new replies.