• Resolved stevewolfe555

    (@stevewolfe555)


    Hello,

    I am trying to work out how the page cache is handled. In particular the File page cache.

    We are looking at load blanced front end servers and would like to run File page caching on them.

    So i guess the question is there a way to clear page cache on multiple servers even though the request will be made from the server the user is connected to?

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

    (@vmarko)

    Hello @stevewolfe555

    Thank you for reaching out and I’m happy to assist you with this.

    The option ford disk cache can be to define W3TC_CACHE_DIR (in wp-config.php) to be a shared disk mount used by all of the servers. Alternatively, make the cache directory a symlink to a mount point that is shared by all of the servers.

    I hope this helps

    Thanks!

    Thread Starter stevewolfe555

    (@stevewolfe555)

    Hi thanks for comming back to me.

    I didnt want to share the cache disk between server but have each one build its own copy of the cache disk to save on network overhead.

    Is it possible to pick up when the cache is getting cleared?

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @stevewolfe555

    Thank you for your feedback.
    I’ve had a chat with the team and no, this is not possible without creating a custom plugin for example that will call the cache purge across all servers once the purge is called from the server the user is connected to.

    Let me know if you have more questions or some examples that may be a feature request that I can present to the team.

    Thanks!

    Thread Starter stevewolfe555

    (@stevewolfe555)

    No worries i have opted for the networked hdd for now.

    Many thanks

    Plugin Contributor Marko Vasiljevic

    (@vmarko)

    Hello @stevewolfe555

    Thank you for your feedback!

    Glad to know you got it working!

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can page caching work across load balanced servers’ is closed to new replies.