On Sat, Apr 11, 2009 at 9:09 PM, Gilles Lenfant <[email protected]> wrote: > 2009/4/9 Tarek Ziadé <[email protected]>: >> >> Hello, >> >> to make CacheFu work properly with ETags, I had to append in the ETag the >> lock state >> of the object: >> >> ILockable(object).locked() > > Hi, > > Using "object/@@plone_context_state/is_locked" in the ETag expression > of relevant cache rules should do the job, as ILockable is not > exposed.
My point is that this should be a hard coded checkable option in CacheFu, not an expression someone might or might not add. Because if you don't add it, it doesn't behave right. Tarek _______________________________________________ Product-Developers mailing list [email protected] http://lists.plone.org/mailman/listinfo/product-developers
