CMS增加页面高速缓存网页静态化缓存

This commit is contained in:
thinkgem
2023-04-10 10:27:13 +08:00
parent 42ee036804
commit 183a4c3694
7 changed files with 142 additions and 24 deletions

View File

@@ -0,0 +1,13 @@
# 温馨提示不建议直接修改此文件为了平台升级方便建议将需要修改的参数值复制到application.yml里进行覆盖该参数值。
cms:
pageCache:
enabled: true
cacheName: cmsPageCache
urlPatterns: ${frontPath}/*
urlSuffixes: .html
j2cache:
caffeine:
region:
cmsPageCache: 100000, 7d