Answers for "use redis as cache"

1

redis cache start

sudo /etc/init.d/redis_6379 start
Posted by: Guest on February-20-2020
0

how to add ttl for cache name redis

@Cacheable(cacheManager = "expireOneHour", value = "onehour", key = "'_onehour_'+#key", sync = true)
Posted by: Guest on June-24-2020

Browse Popular Code Answers by Language