From 0597fae5542de52a30dc60679a7f66ccea76ad51 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Thu, 8 Aug 2019 14:25:18 +0300 Subject: Cache autoconfiguration --- src/main/resources/application.properties | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/main/resources') diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index af0bee6e..99138174 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -2,3 +2,5 @@ spring.jackson.default-property-inclusion=non_default spring.jackson.serialization.write-dates-as-timestamps=false spring.h2.console.enabled=true spring.datasource.platform=h2 +spring.cache.cache-names=help, users_by_name, discussions, messages, replies, popular_tags +spring.cache.caffeine.spec=maximumSize=500,expireAfterAccess=600s -- cgit v1.2.3