12 Aug
2010
12 Aug
'10
4:38 a.m.
On 2010-8-11 18:00, Marius Gedminas wrote:
On Tue, Aug 10, 2010 at 11:54:21PM +0300, Marius Gedminas wrote:
Option #3:
IResourceETag(request).computeETag(path, timestamp, data)
Feels a bit ad-hoc.
The more I think about this, the more I think it's best to configure etag policy by providing an adapter on the request.
I would suggest request and context, so it is more generally useful. I suspect plone.caching already has such an adapter. Wichert. -- Wichert Akkerman <wichert@wiggy.net> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple.