diff --git a/src/main/java/cc/fascinated/backend/config/ThymeleafConfiguration.java b/src/main/java/cc/fascinated/backend/config/ThymeleafConfiguration.java index 7565333..6cff60a 100644 --- a/src/main/java/cc/fascinated/backend/config/ThymeleafConfiguration.java +++ b/src/main/java/cc/fascinated/backend/config/ThymeleafConfiguration.java @@ -28,7 +28,6 @@ public class ThymeleafConfiguration { templateResolver.setPrefix("classpath:/templates/"); templateResolver.setSuffix(".html"); templateResolver.setTemplateMode("HTML"); - templateResolver.setCacheable(false); return templateResolver; } diff --git a/src/main/resources/templates/index.html b/src/main/resources/templates/index.html index 5f913cb..24a5670 100644 --- a/src/main/resources/templates/index.html +++ b/src/main/resources/templates/index.html @@ -21,7 +21,7 @@