hide expired cache shit
This commit is contained in:
parent
6eefc5ea2a
commit
04cfeaf01c
@ -6,7 +6,7 @@
|
|||||||
<th class="minimal">Expires</th>
|
<th class="minimal">Expires</th>
|
||||||
<th class="minimal">Size</th>
|
<th class="minimal">Size</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% for var in cached_vars %}
|
{% for var in cached_vars if (var.ctime is defined ? var.ctime : var.creation_time) + var.ttl > time() %}
|
||||||
<tr>
|
<tr>
|
||||||
<td class="minimal">{{ var.key is defined ? var.key : var.info }}</td>
|
<td class="minimal">{{ var.key is defined ? var.key : var.info }}</td>
|
||||||
<td class="minimal">{{ var.nhits is defined ? var.nhits : var.num_hits }}</td>
|
<td class="minimal">{{ var.nhits is defined ? var.nhits : var.num_hits }}</td>
|
||||||
|
Loading…
Reference in New Issue
Block a user