Synchronizing W3TC configuration over multiple servers
-
Hi,
I am setting up WP + W3TC in a multiple servers environment behind a load balancer.
My workflow:
1. do a settings change in one server.
2. sync wp-content/w3tc-config/master.php and master-admin.php from that server to all others.
3. delete /wp-content/cache/config/master.php on all servers
4. call w3tc_flush_all(); on all servers.this transfers the settings but:
1. the other servers don’t cahce pages (memcached, they produce them for every request)
2. the other servers don’t output and expiry header.This is fixed with a visit to the plugin admin:
wp-admin/admin.php?page=w3tc_dashboardWhat am i doing wrong, how can i fix this? (excepts for visiting the admin page on each server)
Thanks, Tom
Things i’ve made sure / tried:
1. verify wp-cron.php – this runs and does not fix the problem on it’s own
2. clean the whole memcached service’s content – also doesn’t work.
- The topic ‘Synchronizing W3TC configuration over multiple servers’ is closed to new replies.