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 <wich...@wiggy.net> It is simple to make things. http://www.wiggy.net/ It is hard to make things simple. _______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org https://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - https://mail.zope.org/mailman/listinfo/zope-announce https://mail.zope.org/mailman/listinfo/zope )