From 03aeb707f687b4bbb82f850d24819145eadfe06a Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Wed, 26 Oct 2022 12:20:09 +0800 Subject: [PATCH] chore: disable thymeleaf cache in dev profile (#2630) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind improvement /milestone 2.0 #### What this PR does / why we need it: 在 dev 的配置文件中禁用 Thymeleaf 的模板缓存。 #### Special notes for your reviewer: /cc @halo-dev/sig-halo #### Does this PR introduce a user-facing change? ```release-note 在 dev 的配置文件中禁用 Thymeleaf 的模板缓存。 ``` --- src/main/resources/application-dev.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/resources/application-dev.yaml b/src/main/resources/application-dev.yaml index dd0258ff7..045844213 100644 --- a/src/main/resources/application-dev.yaml +++ b/src/main/resources/application-dev.yaml @@ -5,6 +5,8 @@ spring: output: ansi: enabled: always + thymeleaf: + cache: false halo: security: