Add c.secure to the render and page cache keys.

This commit is contained in:
Max Goodman
2011-11-01 16:22:02 -07:00
parent 5df8723c19
commit 77fbe5ae58
2 changed files with 2 additions and 1 deletions

View File

@@ -525,6 +525,7 @@ class MinimalController(BaseController):
c.lang,
c.content_langs,
request.host,
c.secure,
c.cname,
request.fullpath,
c.over18,

View File

@@ -456,7 +456,7 @@ class CachedTemplate(Templated):
# a menu is just a set of links, so we best cache against
# them.
keys = [c.user_is_loggedin, c.user_is_admin, c.domain_prefix,
style, c.cname, c.lang, c.site.path,
style, c.secure, c.cname, c.lang, c.site.path,
getattr(c.user, "gold", False),
template_hash, g.markdown_backend]