Return-Path: Delivered-To: apmail-xml-cocoon-dev-archive@xml.apache.org Received: (qmail 41255 invoked by uid 500); 4 Jul 2001 19:25:13 -0000 Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-dev@xml.apache.org Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 41221 invoked from network); 4 Jul 2001 19:25:11 -0000 Date: Wed, 4 Jul 2001 21:06:53 +0200 (CEST) From: giacomo X-X-Sender: To: Subject: Re: AW: quick question on TraxTransformer and caching In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Rating: h31.sny.collab.net 1.6.2 0/1000/N On Wed, 4 Jul 2001, Donald Ball wrote: > On Wed, 4 Jul 2001, Carsten Ziegeler wrote: > > > I did test the slides example and checked the code. It looks both ok. > > You can indicate that > > the request parameters are used inside the stylesheet by > > specifying the parameter "use-request-parameters" in > > the pipeline. Take a look at the slide example. > > In the source of the transformer the _useParameters must be > > true. The useParameters variable is the default behaviour > > specified in the configuration of the transformer. > > The _useParameters is the value for the current pipeline. > > i think we're missing each other. i'll try again. i wanted to add cookies > to the xslt parameters. yeah, i know, cacheability, etc., etc., but it's > the most expedient solution to a problem i'm trying to solve. so i > duplicated the useParameters/_useParameters stuff with a useCookies > section, but even when the cookies vary for two requests, i get the cached > response the second time. > > looking at the cache functions, i note the generateKey method simply > hashes the url of its input plus the String value of the map of > parameters. maybe map.toString() isn't appropriate here? i'll try to get > some more debugging going on. btw, should i commit this useCookies patch > or is it best put in my own subclass of TraxTransformer? Yeah, I noticed that and commited a corrcted version. Try again with you cookie patch. Giacomo --------------------------------------------------------------------- To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org For additional commands, email: cocoon-dev-help@xml.apache.org