Thank you very much, just to confirm that my theory would work:
– Memcached on each server running on default port 11211
– Inside wordpress for example.com I add only the “current” ( localhost ) memcached server ( 127.0.0.1:11211 )
– W3 will store/manage/refresh the cache on each server accordingly ( eg user lands on server nr 3, but there is no cache yet, W3 will add it
And this should cause no problems right ?
I don’t know about replicating memcached, with mariadb it was easy using galera. Do I really need to replicate the memcache or my example above will work just fine ?
The concern is, how does server nr 3 know that I just “flushed cache” on server 1 ?