From: Lane S. <la...@op...> - 2004-05-24 14:02:13
|
Hi, With WM, you can have an object like $WMCache in the context. Then, as you evaluate a templet into a string variable, you can place the string variable into the $WMCache. The next time around, you can test for its existence subject to a lot of criteria such as user, session, time, invalidation, etc, etc. -Lane Brian Goetz wrote: >You've addressed half of Lars' question -- the caching infrastructure >-- but not the other half -- the integration of caching into the >template language. The approach taken by OSCache is quite cool, in >that allows JSP writers to specify the interaction of caching and >content quite nicely. > > > >>Caching has been discussed a lot and there is a caching provider >>interface so you can write your own caching implementation. (As I have >>done). >> >>To cache individual objects, you can use a global service model to cache >>individual templates (eg, connection.wmt, statements.wmt, etc.) and >>objects (queryResultReference, queryResultDomain, >>queryResultTransaction, etc). With this kind of a model, you cache both >>the template elements and the results according to memory and >>invalidation events. >> >> > > >------------------------------------------------------- >This SF.Net email is sponsored by: Oracle 10g >Get certified on the hottest thing ever to hit the market... Oracle 10g. >Take an Oracle 10g class now, and we'll give you the exam FREE. >http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click >_______________________________________________ >Webmacro-user mailing list >Web...@li... >https://lists.sourceforge.net/lists/listinfo/webmacro-user > > > -- Lane Sharman Providing Private and SPAM-Free Email http://www.opendoors.com 858-755-2868 |