CMS增加页面高速缓存网页静态化缓存
This commit is contained in:
13
modules/cms/src/main/resources/config/jeesite-cms.yml
Normal file
13
modules/cms/src/main/resources/config/jeesite-cms.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
# 温馨提示:不建议直接修改此文件,为了平台升级方便,建议将需要修改的参数值,复制到application.yml里进行覆盖该参数值。
|
||||
|
||||
cms:
|
||||
pageCache:
|
||||
enabled: true
|
||||
cacheName: cmsPageCache
|
||||
urlPatterns: ${frontPath}/*
|
||||
urlSuffixes: .html
|
||||
|
||||
j2cache:
|
||||
caffeine:
|
||||
region:
|
||||
cmsPageCache: 100000, 7d
|
||||
Reference in New Issue
Block a user