Hello community, how can all items in a RAM Cache Manager be invalidated using one single dtml expression ? I found a very cumbersome workaround, which is calling each cached item in a loop like this: <dtml-in expr="cashedItemsFolder.objectValues()"> <dtml-let x=id> <dtml-var expr="'<a href= cashedItemsFolder/'+x?ZCacheable_invalidate:method=Invalidate>'"> </dtml-let> invalidate <dtml-var id></a><br> </dtml-in> this renders to a page that then can be retrieved via "wget" and everyting will be invalidated. But this is not really the solution one would like to have. sth like: <dtml-call expr="myCacheManager.invalidateAll()"> would be way way better. Unfortunately this is science fiction, or is there anything that can do this job ? Any ideas will be appreciated, Juergen
From: "Rauch, Juergen (Juergen)" <juergen.rauch@optimay.com>
how can all items in a RAM Cache Manager be invalidated using one single dtml expression ?
Have a look in the ZMI at how the 'Flush Cache' tab in /Control_Panel/Database works. HTH Jonathan
participants (2)
-
Rauch, Juergen (Juergen) -
Small Business Services