Spring cache using memcached
问题 I'm using https://github.com/AKQABER/simple-spring-memcached to have memcached integrated as a cache implementation with spring. But I'had no success :P I'm using spring 4 and spring-data-jpa public interface FooRepository extends JpaRepository<Foo, Long> { @Cacheable(value = "defaultCache", key = "lala") Foo findByNameAndDescription(String name, String description); } I hardcoded the key for test purposes. Nothing special, use a cache called "defaultCache". The configuration of memcached is: