[script]thymeleaf模版缓存

This commit is contained in:
tomsun28
2022-02-27 08:58:34 +08:00
parent cdc5edf72b
commit c954b930ce
2 changed files with 13 additions and 4 deletions

View File

@@ -41,7 +41,7 @@ spring:
host: smtp.exmail.qq.com
username: example@qq.com
# 请注意此非邮箱账户密码 此需填写邮箱授权码
password: woshigongchao123
password: example
port: 465
default-encoding: UTF-8
properties:
@@ -51,6 +51,15 @@ spring:
ssl:
enable: true
thymeleaf:
prefix: classpath:/templates/
check-template-location: true
cache: true
suffix: .html
#encoding: UTF-8
#content-type: text/html
mode: LEGACYHTML5
warehouse:
store:
td-engine: