优化配置信息增加注释提示
This commit is contained in:
@@ -2,12 +2,34 @@
|
|||||||
|
|
||||||
cms:
|
cms:
|
||||||
pageCache:
|
pageCache:
|
||||||
enabled: true
|
# 是否开启页面静态化缓存
|
||||||
|
#enabled: true
|
||||||
|
# 缓存名称标识
|
||||||
cacheName: cmsPageCache
|
cacheName: cmsPageCache
|
||||||
|
# 拦截的网页地址
|
||||||
urlPatterns: ${frontPath}/*
|
urlPatterns: ${frontPath}/*
|
||||||
|
# 只静态化 .html 后缀的网页
|
||||||
urlSuffixes: .html
|
urlSuffixes: .html
|
||||||
|
|
||||||
j2cache:
|
j2cache:
|
||||||
caffeine:
|
caffeine:
|
||||||
region:
|
region:
|
||||||
|
# 设置缓存的超期时间,默认 7天,根据需要可以设置更久。
|
||||||
cmsPageCache: 100000, 7d
|
cmsPageCache: 100000, 7d
|
||||||
|
|
||||||
|
#spring:
|
||||||
|
# data:
|
||||||
|
# elasticsearch:
|
||||||
|
# # 开启 ES 功能
|
||||||
|
# enabled: true
|
||||||
|
#
|
||||||
|
# # 设置 ES 服务地址
|
||||||
|
# client:
|
||||||
|
# reactive:
|
||||||
|
# endpoints: 127.0.0.1:9200
|
||||||
|
#
|
||||||
|
# # 连接超时的时间
|
||||||
|
# properties:
|
||||||
|
# transport:
|
||||||
|
# tcp:
|
||||||
|
# connect_timeout: 120s
|
||||||
|
|||||||
@@ -37,7 +37,7 @@
|
|||||||
</ul>
|
</ul>
|
||||||
<ul class="nav navbar-nav navbar-right hidden-xs hidden-sm">
|
<ul class="nav navbar-nav navbar-right hidden-xs hidden-sm">
|
||||||
<form class="navbar-form navbar-left nav-search" action="${ctx}/search">
|
<form class="navbar-form navbar-left nav-search" action="${ctx}/search">
|
||||||
<div class="form-group">
|
<div class="form-group" title="填写关键字,按 Enter 键进行全文检索...">
|
||||||
<input type="text" name="q" class="form-control" placeholder="全站搜索...">
|
<input type="text" name="q" class="form-control" placeholder="全站搜索...">
|
||||||
</div>
|
</div>
|
||||||
<button type="submit" class="btn btn-primary hide">搜索</button>
|
<button type="submit" class="btn btn-primary hide">搜索</button>
|
||||||
|
|||||||
Reference in New Issue
Block a user