mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-04-27 03:00:12 -04:00
rendercache: Prefix keys with "rend:" instead of "render_".
This commit is contained in:
@@ -376,8 +376,7 @@ class Templated(object):
|
||||
return res
|
||||
|
||||
def _cache_key(self, key):
|
||||
return 'render_%s(%s)' % (self.__class__.__name__,
|
||||
md5(key).hexdigest())
|
||||
return 'rend:%s(%s)' % (self.__class__.__name__, md5(key).hexdigest())
|
||||
|
||||
def _write_cache(self, keys):
|
||||
from pylons import app_globals as g
|
||||
|
||||
Reference in New Issue
Block a user