My site is located on two servers (i.e. web01.mydomain.com
and web02.mydomain.com
) under load balancing. I am using zend_cache
for caching purpose, the cache is also located on both servers.
The issue is that when I try to clean my cache using below command it will only remove it from one server. I am using following command to remove the cache:
$cache->clean(Zend_Cache::CLEANING_MODE_ALL);
Can you please explain how to remove cache from both servers?