On Thu, Dec 15, 2005 at 11:45:51AM +0900, John Barham wrote:
> Is it possible to flush a path w/ a specific argument from a RAM cache
> from a Python script?

I'm not sure what the "specific argument" refers to, but
in general, sure. Just do this:

    ob = context.restrictedTraverse(some_path)
    ob.ZCacheable_invalidate()

But I think you need the "View management screens" permission.
(I have no idea why that one was chosen.)
 
-- 

Paul Winkler
http://www.slinkp.com
_______________________________________________
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to