title: How to clear memcached for multiple servers in rails
body: <p>My Rails app is sharing two servers, one for users and the other for admin. I have added dalli-memcached for user interface and cache gets expires if it updates anything, which is working fine.</p>
  
  <p>But I want to clear the cache from the admin server also.</p>
  
  <p>So I have added</p>
  
  <pre><code>config.cache_store = :dalli_store, 'app_url',
  </code></pre>
  
  <p>in environment file, but getting error</p>
  
  <pre><code>DalliError: No server available
  </code></pre>
  
  <p>This means I am giving the wrong address. Which address do I need to give? App_url or ip_address?</p>
  
  <p>Have tried with both but getting same error.</p>
  
  <p>If anyone knowa od any other method to expire user-server cache please let me know.</p>