Cache spring configuration redis comment

The steps outlined below:

    0.spring configuration of the main cache declared notes: <cache: annotation-driven cache-manager = "redisCacheManager" />

      1.maven pom.xml file into the frame package

   2. Adding Configuration Profiles

   3.spring managed bean is generated, xml configuration file

   4. RedisCacheConfig redis custom tools, from the key generation rule defined redis

   5. Where do you want to cache, cache using annotations

 

Reference article:  https://www.cnblogs.com/qlqwjy/p/8574121.html

Guess you like

Origin www.cnblogs.com/jiftle/p/11084124.html