Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev
Re: [Checkins] SVN: zope.app.publisher/trunk/ To make browsers update their caches of resources immediately when the
 

Index | Next | Previous | View Flat


srichter at cosmos

Jun 9, 2009, 6:51 AM


Views: 493
Permalink
Re: [Checkins] SVN: zope.app.publisher/trunk/ To make browsers update their caches of resources immediately when the

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"
_______________________________________________
Zope-Dev maillist - Zope-Dev[at]zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Subject User Time
Re: [Checkins] SVN: zope.app.publisher/trunk/ To make browsers update their caches of resources immediately when the srichter at cosmos Jun 9, 2009, 6:51 AM
    Re: [Checkins] SVN: zope.app.publisher/trunk/ To makebrowsers update their caches of resources immediately when the dev at projekt01 Jun 9, 2009, 7:50 AM
        Re: [Checkins] SVN: zope.app.publisher/trunk/ To makebrowsers update their caches of resources immediately when the benji at zope Jun 9, 2009, 7:56 AM
    Re: [Checkins] SVN: zope.app.publisher/trunk/ To make browsers update their caches of resources immediately when the cz at gocept Jun 10, 2009, 12:51 AM
        Re: [Checkins] SVN: zope.app.publisher/trunk/ To make browsers update their caches of resources immediately when the benji at zope Jun 10, 2009, 4:27 AM
    Re: ZTK scope (was: [Checkins] SVN: zope.app.publisher/trunk/) ws at gocept Jun 10, 2009, 1:08 AM

  Index | Next | Previous | View Flat
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.