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.
But I want to clear the cache from the admin server also.
So I have added
config.cache_store = :dalli_store, 'app_url',
in environment file, but getting error
DalliError: No server available
This means I am giving the wrong address. Which address do I need to give? App_url or ip_address?
Have tried with both but getting same error.
If anyone knowa od any other method to expire user-server cache please let me know.