Re: RFC: ETag support for zope.browserresource

Wichert Akkerman <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
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 <[email protected]>   It is simple to make things.
http://www.wiggy.net/                  It is hard to make things simple.
_______________________________________________
Zope-Dev maillist  -  [email protected]
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.