From 0b55ccb67263ad5405c912d9b10346173b399bad Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Sun, 30 Sep 2012 12:53:17 -0500 Subject: Fix template fragment caching on front page Now that some users see staging packages and others do not, we need to be more careful about what variables the fragment depends on. Signed-off-by: Dan McGee --- templates/public/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/templates/public/index.html b/templates/public/index.html index 3aab5da..cebb068 100644 --- a/templates/public/index.html +++ b/templates/public/index.html @@ -80,7 +80,7 @@ {% endblock %} {% block content_right %} -{% cache 59 main-page-right secure %} +{% cache 59 main-page-updates user.is_authenticated %}
@@ -88,7 +88,6 @@
-
@@ -110,7 +109,9 @@ {% endfor %}
+{% endcache %} +{% cache 59 main-page-right secure %}