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 }} |