[Zope-CMF] CachingPolicy

LESUEUR Frédéric f.lesueur at gmail.com
Thu Jun 22 09:08:21 EDT 2006


hello,
i have a question about the "_setCacheHeaders" methods inside this
file CMFCore/utils.py.

Why content is set to aq_parent and not the object itself ?
The test of a policy is make with parent of object not this object. If
i have a FSImage, the test is make with this context parent and no
http cache is set.

In my opinion content must be set to context obj, like that:
content=obj

Maybe this product is not use anymore and http cache manager is use instead.

thanks in advance
fred


More information about the Zope-CMF mailing list