aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/configuration/WwwAppConfiguration.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-08-02 15:58:45 +0300
committerGravatar Vitaly Takmazov2019-08-02 15:58:45 +0300
commit82cbd49555a723f91ed3684a64debeade9c0b3f8 (patch)
treea26a7dcdf9af3dd4d9bb212c32e7a88e84980a3a /src/main/java/com/juick/server/configuration/WwwAppConfiguration.java
parentc8eeadee42695ed67dac47dbb9d7a66a1c9a8c6d (diff)
More caches
Diffstat (limited to 'src/main/java/com/juick/server/configuration/WwwAppConfiguration.java')
-rw-r--r--src/main/java/com/juick/server/configuration/WwwAppConfiguration.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/server/configuration/WwwAppConfiguration.java b/src/main/java/com/juick/server/configuration/WwwAppConfiguration.java
index 0c5c8dbf..45950eb0 100644
--- a/src/main/java/com/juick/server/configuration/WwwAppConfiguration.java
+++ b/src/main/java/com/juick/server/configuration/WwwAppConfiguration.java
@@ -63,7 +63,7 @@ public class WwwAppConfiguration implements WebMvcConfigurer {
private String imgDir;
@Bean
public CacheManager cacheManager() {
- return new CaffeineCacheManager("help", "users_by_name", "discussions");
+ return new CaffeineCacheManager("help", "users_by_name", "discussions", "messages", "replies");
}
@Bean