From 04cfeaf01c5ea830b1caa1a442a864019a02ce39 Mon Sep 17 00:00:00 2001 From: Michael Foster Date: Mon, 23 Sep 2013 10:38:06 +1000 Subject: [PATCH] hide expired cache shit --- templates/mod/debug/apc.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/mod/debug/apc.html b/templates/mod/debug/apc.html index fde0979b..e8733af8 100644 --- a/templates/mod/debug/apc.html +++ b/templates/mod/debug/apc.html @@ -6,7 +6,7 @@ Expires Size - {% for var in cached_vars %} + {% for var in cached_vars if (var.ctime is defined ? var.ctime : var.creation_time) + var.ttl > time() %} {{ var.key is defined ? var.key : var.info }} {{ var.nhits is defined ? var.nhits : var.num_hits }}