From 74e7d5d7255ea21994eb584058ff94ffed8c444b Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Mon, 14 Jan 2013 18:15:04 -0800 Subject: [PATCH] Move render info blurb out of redditfooter to avoid caches. RedditFooter is a CachedTemplate and so the blurb which is supposed to be unique to each request is being rendercached. --- r2/r2/templates/reddit.html | 1 + r2/r2/templates/redditfooter.html | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/templates/reddit.html b/r2/r2/templates/reddit.html index 8e09fb8d7..db8371bfd 100644 --- a/r2/r2/templates/reddit.html +++ b/r2/r2/templates/reddit.html @@ -166,6 +166,7 @@ %endif %endif ${framebuster()} +

π Rendered by PID ${g.reddit_pid} on ${g.reddit_host} at ${c.start_time} running ${g.short_version}.

diff --git a/r2/r2/templates/redditfooter.html b/r2/r2/templates/redditfooter.html index 5af4a4b79..15abc67f1 100644 --- a/r2/r2/templates/redditfooter.html +++ b/r2/r2/templates/redditfooter.html @@ -55,5 +55,4 @@ dict(year=datetime.datetime.now().timetuple()[0])}

REDDIT and the ALIEN Logo are registered trademarks of reddit inc.

-

π Rendered by PID ${g.reddit_pid} on ${g.reddit_host} at ${c.start_time} running ${g.short_version}.