aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/server/configuration/WwwAppConfiguration.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2019-08-05 11:31:40 +0300
committerGravatar Vitaly Takmazov2019-08-05 11:31:40 +0300
commitd18c76dd2ec83a757ccb4073a49cc1512c9c5bcb (patch)
tree25e547ae466bc05405f8c2ce629322e36de0f489 /src/main/java/com/juick/server/configuration/WwwAppConfiguration.java
parentc331058727be860a99055e2d4ac6ca7a4b3ec6b7 (diff)
Cache popular tags
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 45950eb0..66f1d8ce 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", "messages", "replies");
+ return new CaffeineCacheManager("help", "users_by_name", "discussions", "messages", "replies", "popular_tags");
}
@Bean