diff -r e134d2dd9992 -r e4843535db25 web/httpcache.py --- a/web/httpcache.py Thu Sep 24 00:23:32 2009 +0200 +++ b/web/httpcache.py Thu Sep 24 00:24:21 2009 +0200 @@ -17,7 +17,7 @@ """default cache manager: set no-cache cache control policy""" def __init__(self, view): self.view = view - self.req = view.req + self.req = view._cw self.cw_rset = view.rset def set_headers(self): @@ -42,7 +42,7 @@ date_format = "%a, %d %b %Y %H:%M:%S GMT" def etag(self): - return self.view.id + '/' + ','.join(sorted(self.req.user.groups)) + return self.view.__regid__ + '/' + ','.join(sorted(self.req.user.groups)) def max_age(self): # 0 to actually force revalidation