title: Using multiple cache implementations with Spring Cache
body: <p>I'm working on a <code>Spring Boot</code> app where I need to use both distributed (e.g. <code>Hazelcast</code>) and local (e.g. <code>Guava</code>) caches. Is there a way to configure Spring Cache to use both when using <code>@Cacheable</code> and decide which implementation is needed based on the cache name?</p>
  
  <p>I tried with creating a configuration for both HZ and Guava defining the cache names inside, but Spring complains that it couldn't find the cache name that is supposed to handled by HZ. When I use exclusively HZ or Guava they work.</p>