## Script (Python) "update_http_cache"##bind container=container##bind context=context##bind namespace=##bind script=script##bind subpath=traverse_subpath##parameters=my_folder=None##title=Updates the caching parameters (cache must be called ht)##ifmy_folderisNone:my_folder=containerdefupdateCache(o):o.ZCacheable_setManagerId(manager_id='ht')#o.setCacheNamespaceKeys(keys=['__ac_name'])foroincontext.objectValues():try:updateCache(o)print'Good %s'%o.absolute_url()except:print'Bad %s'%o.absolute_url()forfincontext.objectValues(spec=['Base18 Folder','Folder','portal_skins']):f.update_http_cache(my_folder=f)print"Done"returnprinted