Files
my-worker/modules/cms/src/main/resources/config/jeesite-cms.yml

25 lines
680 B
YAML
Raw Normal View History

# 温馨提示不建议直接修改此文件为了平台升级方便建议将需要修改的参数值复制到application.yml里进行覆盖该参数值。
cms:
pageCache:
2023-04-15 11:38:15 +08:00
# 是否开启页面静态化缓存
enabled: false
2023-04-15 11:38:15 +08:00
# 缓存名称标识
cacheName: cmsPageCache
2023-04-15 11:38:15 +08:00
# 拦截的网页地址
urlPatterns: ${frontPath}/*
2023-04-15 11:38:15 +08:00
# 只静态化 .html 后缀的网页
urlSuffixes: .html
j2cache:
caffeine:
region:
2023-04-15 11:38:15 +08:00
# 设置缓存的超期时间,默认 7天根据需要可以设置更久。
cmsPageCache: 100000, 7d
2023-04-15 11:38:15 +08:00
#spring:
2023-12-13 21:07:34 +08:00
# elasticsearch:
# enabled: true
# uris: http://Win11:9200
# connection-timeout: 120s