[Zope-dev] RFC: ETag support for zope.browserresource

Wichert Akkerman wichert at wiggy.net
Thu Aug 12 00:38:58 EDT 2010


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 at wiggy.net>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.


More information about the Zope-Dev mailing list