[Zope3-checkins] [Checkins] SVN: zope.app.publisher/trunk/ To make browsers update their caches of resources immediately when the

Stephan Richter srichter at cosmos.phy.tufts.edu
Tue Jun 9 09:51:03 EDT 2009


On Tuesday 09 June 2009, Wolfgang Schnerring wrote:
>   To make browsers update their caches of resources immediately when the
>   resource changes, the absolute URLs of resources can now be made to
> contain a hash of the resource's contents, so it will look like
>   /++noop++12345/@@/myresource instead of /@@/myresource.
>  
>   - Implemented an AbsoluteURL adapter that computes a hash of the
> resource's contents and inserts that into the URL. - Content hashes will be
> cached in memory, except when in developer mode - Introduced a ++noop++
> traverser that simply throws away the path segment - Wrote a bit of
> documentation about resources

Mmmh, this looks like a lot of extra code to get behavior that is served 
better with different tools. Have you looked at z3c.versionedresource and 
z3c.traverser? Both of those should solve these type of use cases well.

Regards,
Stephan
-- 
Entrepreneur and Software Geek
Google me. "Zope Stephan Richter"


More information about the Zope3-Checkins mailing list