mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
feat: move cache tpl
This commit is contained in:
@@ -6,12 +6,6 @@
|
|||||||
<div class="panel panel-default">
|
<div class="panel panel-default">
|
||||||
<div class="panel-heading"><i class="fa fa-calendar-o"></i> [[admin/advanced/cache:post-cache]]</div>
|
<div class="panel-heading"><i class="fa fa-calendar-o"></i> [[admin/advanced/cache:post-cache]]</div>
|
||||||
<div class="panel-body">
|
<div class="panel-body">
|
||||||
<label>[[admin/advanced/cache:posts-in-cache]]</label><br/>
|
|
||||||
<span>{postCache.itemCount}</span><br/>
|
|
||||||
|
|
||||||
<label>[[admin/advanced/cache:average-post-size]]</label><br/>
|
|
||||||
<span>{postCache.avgPostSize}</span><br/>
|
|
||||||
|
|
||||||
<label>[[admin/advanced/cache:length-to-max]]</label><br/>
|
<label>[[admin/advanced/cache:length-to-max]]</label><br/>
|
||||||
<span>{postCache.length} / {postCache.max}</span><br/>
|
<span>{postCache.length} / {postCache.max}</span><br/>
|
||||||
|
|
||||||
@@ -25,6 +19,14 @@
|
|||||||
<label>Misses:</label> <span>{postCache.misses}</span><br/>
|
<label>Misses:</label> <span>{postCache.misses}</span><br/>
|
||||||
<label>Hit Ratio:</label> <span>{postCache.hitRatio}</span><br/>
|
<label>Hit Ratio:</label> <span>{postCache.hitRatio}</span><br/>
|
||||||
|
|
||||||
|
<hr/>
|
||||||
|
|
||||||
|
<label>[[admin/advanced/cache:posts-in-cache]]</label><br/>
|
||||||
|
<span>{postCache.itemCount}</span><br/>
|
||||||
|
|
||||||
|
<label>[[admin/advanced/cache:average-post-size]]</label><br/>
|
||||||
|
<span>{postCache.avgPostSize}</span><br/>
|
||||||
|
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label for="postCacheSize">[[admin/advanced/cache:post-cache-size]]</label>
|
<label for="postCacheSize">[[admin/advanced/cache:post-cache-size]]</label>
|
||||||
<input id="postCacheSize" type="text" class="form-control" value="" data-field="postCacheSize">
|
<input id="postCacheSize" type="text" class="form-control" value="" data-field="postCacheSize">
|
||||||
|
|||||||
Reference in New Issue
Block a user