diff --git a/r2/r2/controllers/reddit_base.py b/r2/r2/controllers/reddit_base.py index abe1254aa..4b2bf0ad3 100644 --- a/r2/r2/controllers/reddit_base.py +++ b/r2/r2/controllers/reddit_base.py @@ -525,6 +525,7 @@ class MinimalController(BaseController): c.lang, c.content_langs, request.host, + c.secure, c.cname, request.fullpath, c.over18, diff --git a/r2/r2/lib/wrapped.pyx b/r2/r2/lib/wrapped.pyx index 91da50a30..3beacc2b8 100644 --- a/r2/r2/lib/wrapped.pyx +++ b/r2/r2/lib/wrapped.pyx @@ -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]