From: Lane S. <la...@op...> - 2003-04-04 04:48:48
|
You should definitely take a look at org.opendoors.cache.* and org.opendoors.cache.immutable.* which is a generational cache system. Lots of good features. -Lane Marc Palmer wrote: > > Hi, > > With our XML helper that downloads content from a URL and parses it, > we need to be able to cache the URL contents and/or the XML DOM. > > We also need to be able to control the expiry time on the XML > documents independently (i.e. Amazon say you must refresh your XML > from them every hour - other sites only daily). > > Are there mechanisms in WM already that we can use to achieve this or > not? It seems stupid to write yet another cache, and if there's > already a resource cache in WM that can handle this then we should be > using it - on the offchance other directives/context tools also access > the same XML document. > > Thanks in advance... -- Lane Sharman Learn About Conga, All Java GUI Builder: http://opendoors.com/conga Java Software Portal: http://opendoors.com |