Thanks for your info and example. Though I am a bit lost. So how is the key and the cacheValidity being used for the cocoon caching mechanism?
Say, if I am generating the same key, does that mean the object is cached? Or if I return the same CacheValidity object, does that also mean the pipeline resutl is cached and reused? I want to cache based on the input url/request-parameters in some ways... does that simply mean I have to write my own CacheValidity class? > -----Original Message----- > From: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] > Sent: 25 February 2002 17:06 > To: [EMAIL PROTECTED] > Subject: RE: various caching in xsp? > > > Source: > http://cvs.apache.org/viewcvs.cgi/xml-cocoon2/src/webapp/docs/ > samples/xs > p/cacheable.xsp?rev=1.5&content-type=text/vnd.viewcvs-markup > > URL in samples webapp: > http://localhost:8080/cocoon/xsp/cacheable > > > Vadim > > > -----Original Message----- > > From: Tsui, Alban [mailto:[EMAIL PROTECTED]] > > Sent: Monday, February 25, 2002 11:41 AM > > To: [EMAIL PROTECTED] > > Subject: various caching in xsp? > > > > Hi > > I want to do pipeline caching and I have been browsing the cocoon > (2.0) > > source and notice that there is this class > > > > DeltaTimeCacheValidity and other various classes. > > > > I have been told that it is possible to control caching in XSP but I > don't > > know how to start. Say if I want to use the above > DeltaTimeCacheValidity, > > how would I implement it in my xsp and my pipeline in my sitemap? An > example > > would be appreciated. > > > > Best wishes > > > > Alban Tsui > > > > This message may contain privileged and/or confidential information. > If you > > have received this e-mail in error or are not the intended > recipient, > you > > may not use, copy, disseminate or distribute it; do not open any > > attachments, delete it immediately from your system and notify the > sender > > promptly by e-mail that you have done so. Thank you. > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> > > To unsubscribe, e-mail: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > This message may contain privileged and/or confidential information. If you have received this e-mail in error or are not the intended recipient, you may not use, copy, disseminate or distribute it; do not open any attachments, delete it immediately from your system and notify the sender promptly by e-mail that you have done so. Thank you. --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. <http://xml.apache.org/cocoon/faqs.html> To unsubscribe, e-mail: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>