RE: caching proposals: SQLTransformer and Request

2003-06-27 Thread Christian Kurz
I just skimmed through the mailing list to find ideas of how to cache a pipeline starting with a request generator and later on passing data through the SQLTransformer. Did you or anybody else follow up on this idea? NB: Caching of the request generator would probably also need to cache request

Re: caching proposals: SQLTransformer and Request

2003-06-27 Thread David Kavanagh
or anybody else follow up on this idea? NB: Caching of the request generator would probably also need to cache request parameters passed not part as part of the URL. As usually only some request parameters are used in the pipeline, the sitemap element might list the request parameters to consider when

Caching Questions

2003-06-12 Thread David LAGARDERE
Hello. I have two questions dealing with the caching process in Cocoon. 1. I want to refer to an internal Pipeline as the XML source of other pipelines without aggregating it or calling it as a resource (because it would never return). The only trick I know is to make the internal Pipeline

caching in contentaggregator

2003-06-03 Thread Jestel, Roger B. (LNG-ALB)
result from the shared cocoon:// call of the first aggregated component to be used in the second aggregated pipeline. Is there another way to force caching of the shared pipeline? All I can think of without writing a custom content aggregator is using a generator that will produce cinclude

Re: database caching

2003-04-05 Thread Marcelo F. Ochoa
Kris Rasmussen wrote: How does cocoon handle caching of xsp pages with esql tags? It seems to me that cocoon would have to generate the xml output of the xsp page every time the page is called, and thus would be unable to cache any xsl translation latter? Is this true? If so would

Re: database caching

2003-04-02 Thread Geoff Howard
Cocoon does not automatically cache xsp pages with esql tags, but provides a means for you to tell it to do so. Have a look at the caching xsp sample, and probably the javadocs for the caching related classes. In general, you'll need your generator (which is what your xsp produces

Re: database caching

2003-04-02 Thread Kris Rasmussen
:43:29 -0800, Kris Rasmussen wrote: How does cocoon handle caching of xsp pages with esql tags? It seems to me that cocoon would have to generate the xml output of the xsp page every time the page is called, and thus would be unable to cache any xsl translation latter? Is this true? If so would

Re: database caching

2003-04-02 Thread Geoff Howard
it with esql and xsp. Please correct me if I am wrong, or if this added complexity for high traffic pages is not necessary. Kris Leszek Gawron [EMAIL PROTECTED] wrote: On wto, kwi 01, 2003 at 12:43:29 -0800, Kris Rasmussen wrote: How does cocoon handle caching of xsp pages with esql tags

Re: database caching

2003-04-01 Thread Leszek Gawron
On wto, kwi 01, 2003 at 12:43:29 -0800, Kris Rasmussen wrote: How does cocoon handle caching of xsp pages with esql tags? It seems to me that cocoon would have to generate the xml output of the xsp page every time the page is called, and thus would be unable to cache any xsl translation

How to disable Caching in special Pipelines

2003-03-27 Thread Björn Voigt
Hello Cocooners, i think, the caching is a genial technology to lower processing time and I used Cacheable in some Components successfully. But It is it possible to disabled caching for certain map:pipeline or map:match/ and what ist the syntax for this. Thank you Björn

Re: How to disable Caching in special Pipelines

2003-03-27 Thread Charles Yates
The different pipe implementations in sitemap.xmap Is there a way of doing this in Cocoon 2.0.4 anyone? Charles Björn Voigt wrote: Hello Cocooners, i think, the caching is a genial technology to lower processing time and I used Cacheable in some Components successfully. But It is it possible to disabled

Very strange behaviour -- caching bug?

2003-03-03 Thread Alex Romayev
Hello, There is a very strange behaviour that my site exibits ever since I've upgraded my 2.1 dev code from what it was in Nov-Dec last year to the most current version (less than a week old). Here is what's going on. There is a portlet which is generated by calling another pipeline fragment

RE: Very strange behaviour -- caching bug?

2003-03-03 Thread Mark H
map:parameter name=parameters value=true/ map:generate src={locale}.xml/ map:serialize type=xml/ /map:act /map:match /map:match /map:pipeline /map:pipelines and got the same caching problem you got, can anybody try the above in v2.0.4

RE: Very strange behaviour -- caching bug?

2003-03-03 Thread Alex Romayev
/ map:generate src={locale}.xml/ map:serialize type=xml/ /map:act /map:match /map:match /map:pipeline /map:pipelines and got the same caching problem you got, can anybody try the above in v2.0.4 to see if it is a 2.1 bug? when I did the following

RE: Very strange behaviour -- caching bug?

2003-03-03 Thread Mark H
To: [EMAIL PROTECTED] Subject: RE: Very strange behaviour -- caching bug? Hi Mark, Thanks for your help. I like your test case -- it simpler and cleaner. Do you (or anyone else) know how to submit this as a bug to make sure the developers know about it? Cheers, -Alex --- Mark H [EMAIL

Re: Very strange behaviour -- caching bug?

2003-03-03 Thread Leszek Gawron
On pon, mar 03, 2003 at 10:01:03 -0800, Alex Romayev wrote: Hi Mark, Thanks for your help. I like your test case -- it simpler and cleaner. Do you (or anyone else) know how to submit this as a bug to make sure the developers know about it? I have encountered the same bug (I think) or

Re: Very strange behaviour -- caching bug?

2003-03-03 Thread Alex Romayev
Do you know the syntax for making a pipeline noncaching? --- Leszek Gawron [EMAIL PROTECTED] wrote: On pon, mar 03, 2003 at 10:01:03 -0800, Alex Romayev wrote: Hi Mark, Thanks for your help. I like your test case -- it simpler and cleaner. Do you (or anyone else) know how to

Re: Very strange behaviour -- caching bug?

2003-03-03 Thread Leszek Gawron
On pon, mar 03, 2003 at 11:27:10 -0800, Alex Romayev wrote: Do you know the syntax for making a pipeline noncaching? first see if your main sitemap.xmap contains different pipeline implementation (grep for caching, noncaching) use it like this: map:pipeline type=noncaching !-- map:match

caching

2003-02-27 Thread arturl
Hello, I've asked this question some time ago, but got no answer. Is it possible to cache the content produced from file generator fetching data from some external url for specified time? I'd like the generator not to check last modification date (and so connecting to the external server) but

RE: caching

2003-02-27 Thread Reinhard Pötz
Gianugo is changing some parts in the cocoon caching. Then you will be able to cache the complete pipeline for the expiration date without creating your own custom generator. Do you know whether there is some mechanism to get the old (=expired) content if the external source is not available

RE: caching

2003-02-27 Thread Carsten Ziegeler
From: Reinhard Pötz [mailto:[EMAIL PROTECTED] Gianugo is changing some parts in the cocoon caching. Then you will be able to cache the complete pipeline for the expiration date without creating your own custom generator. Do you know whether there is some mechanism to get the old

RE: caching

2003-02-27 Thread Reinhard Pötz
From: Carsten Ziegeler [mailto:[EMAIL PROTECTED] From: Reinhard Pötz [mailto:[EMAIL PROTECTED] Gianugo is changing some parts in the cocoon caching. Then you will be able to cache the complete pipeline for the expiration date without creating your own custom generator. Do

RE: caching

2003-02-27 Thread Carsten Ziegeler
Reinhard Pötz wrote: Do you know whether there is some mechanism to get the old (=expired) content if the external source is not available after it expired? No, it's not possible. At which 'level' would you solve that problem? Would you write a special generator? Yes, exactly.

RE: caching

2003-02-27 Thread Reinhard Pötz
content of the cache and until it is updated the 'old' version could be used. Would this fit in the already existing pipeline-expires and pipeline-caching concepts? Reinhard - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional

RE: caching

2003-02-27 Thread Carsten Ziegeler
-Original Message- From: Reinhard Pötz [mailto:[EMAIL PROTECTED] Sent: Thursday, February 27, 2003 12:39 PM To: [EMAIL PROTECTED] Subject: RE: caching From: Carsten Ziegeler [mailto:[EMAIL PROTECTED] Reinhard Pötz wrote: Do you know whether there is some mechanism to get

Re: caching

2003-02-27 Thread Charles Yates
, 2003 12:39 PM To: [EMAIL PROTECTED] Subject: RE: caching From: Carsten Ziegeler [mailto:[EMAIL PROTECTED] Reinhard Pötz wrote: Do you know whether there is some mechanism to get the old (=expired) content if the external source is not available after

RE: caching

2003-02-27 Thread Reinhard Pötz
: caching I am curently testing a 'CacheableSource' and 'CacheableSourceFactory' that does these things. Its not ready for prime time yet but it does do the things mentioned here. Used like this: cache://http://www.unreliableserver.com/news.rdf cache://cocoon://resource/that/takes

Re: caching

2003-02-27 Thread Charles Yates
It uses DeltaTimeCacheValidity which accepts a time value in its constructor: http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/caching/DeltaTimeCacheValidity.html The CacheableSource creates one of these in its constructor, and CacheableSourceFactory keeps a java.util.Map associating

RE: caching

2003-02-27 Thread Reinhard Pötz
From: Charles Yates [mailto:[EMAIL PROTECTED] It uses DeltaTimeCacheValidity which accepts a time value in its constructor: http://xml.apache.org/cocoon/apidocs/org/apache/cocoon/caching /DeltaTimeCacheValidity.html The CacheableSource creates one of these in its constructor

Re: caching

2003-02-27 Thread Charles Yates
Reinhard Pötz wrote: As already mentioned I don't know how to set the expiration time. If you use a source the only way to pass a parameter is the source string itself (at least AFAIK). I'm not sure if something like cache:3h//cocoon://resource/that/takes/a/long/time or

caching external data

2003-02-19 Thread arturl
Hi, is it possible to cache result of generator fetching data from external url for specified time? So, I want to xml resulted from map:generate src=http://external/ be cached for 1 hour and no connection with external host in that hour. Artur

caching

2003-02-07 Thread arturl
Hi, Is is possible to cache the output of FileGenerator for specified time, not by the last modification date of the source file? I'm trying to cache content generated from external urls - how can I achieve that? -- Artur -

Caching HTTP request

2003-02-03 Thread Jim Lynch
I'm trying to create a pipleline and use cocoon's caching mechanism. The generator will use a http url. According to the documentation, cocoon will never cache this request...Is this true?? If so, is it possible to get around this issue?? thanks Jim/Esther

Using getLastModified() to implement browser caching

2003-01-30 Thread Collin VanDyck
Hi, I've implemented a custom Reader to read file entities out of my database. Because these file entities span across multiple tables and are managed thru my J2EE container, I'd like to implement some browser-side caching to prevent excessive generation on the server side. In my reader

Caching oddity

2003-01-21 Thread Miles Elam
I'm going through the process of writing my first generator. I works fine for what I need it to do, but I can't seem to get caching to work with it. My generator extends from ComposerGenerator and implements CacheableProcessingComponent. I have implemented the following methods: public

Caching xinclude results

2003-01-14 Thread Yury Mikhienko
Hi all! I using xinclude transformer in my work and have the following questions: Does cocoon.environment.Source (or org.xml.sax.InputSource) cached the document (source of result document)? And how to configure it (expire timeout, proxy location etc.) if it possible? Can anyone ask me? Thanx

Caching xinclude results with proxy

2003-01-14 Thread Andreas Bednarz
Hi there, regarding to many questions to caching and performance I have a suggestion from real life. We are using XINDICE for or internal projects with fuss satisfaction after putting squid in front of the XML interface as an transparent proxy. We have defined a trigger in squid.conf which

Re: HOWTO: Cocoon 2.0.4 + Apache client-side caching

2003-01-13 Thread Bruce Robertson
Quoting SAXESS - Hussayn Dabbous [EMAIL PROTECTED]: Wouldn't it be great to place this HOWTO into the cocon wiki ? regards, hussayn The HOWTO, with some additional notes from the weekend's experience, can now be found at: http://wiki.cocoondev.org/Wiki.jsp?page=CocoonAndApacheModRequest

HOWTO: Cocoon 2.0.4 + Apache client-side caching

2003-01-10 Thread Bruce Robertson
ETA 00:00 11:12:54 (86.91 KB/s) - `international_names.css.4' saved [89/89] Hooray, we're caching this css file on the client for a few hours! This approach has one advantage over setting the expire within cocoon itself. Client-side caching gets in the way of development, where one wishes

Re: HOWTO: Cocoon 2.0.4 + Apache client-side caching

2003-01-10 Thread Tony Collen
On Fri, 10 Jan 2003, Bruce Robertson wrote: snip/ Hooray, we're caching this css file on the client for a few hours! This approach has one advantage over setting the expire within cocoon itself. Client-side caching gets in the way of development, where one wishes immediately to see

Re: HOWTO: Cocoon 2.0.4 + Apache client-side caching

2003-01-10 Thread SAXESS - Hussayn Dabbous
Hy, Bruce; I am happy to read this email. I am just a few days away from releasing my new cocoon based website and i wanted to go into this caching task anyway. From your email i learn, that i can save a lot of time with fiddeling around this issue by applying your HOWTO ;-) thanks a lot

caching images, reloading XML/XSLT

2002-12-12 Thread gv
in the sitemap to get the images and CSS files. Is there a way to allow some resources to be cached(images, css files), and still allow other resources reload (XML, XSLT)? Or is there another way to solve this image caching problem? Thank you, John

XSP caching with 2.1-dev

2002-11-21 Thread neil
Hi cocooners, I'm just trying the CVS HEAD and have a problem with some of my old 2.0.3 XSP's which used to be cached for 30mins. generateValidity() now has to return a org.apache.excalibur.source.SourceValidity instead of a org.apache.cocoon.caching.CacheValidity. I used to return

Best Practice of caching XML

2002-11-16 Thread Thorsten Mauch
Hi All In my cocoon application i have a productdescription stored as a xml string. After i query the database i want do store this description is a cache. In terms of performance what is the recommended way do that. Store the string or as Dom docment ? what is the fastest way to

Re: Caching results of SQL Queries?

2002-11-15 Thread Christian Haul
changes . is there any way I can force the internal pipelines to cache, without using the tricks like browser caching via the 'expires' header on the external pipeline? Perhaps the caching point stuff could help here? Michael? Chris. -- C h r i s t i a n H a u l [EMAIL

Re: Caching results of SQL Queries?

2002-11-15 Thread Justin Fagnani-Bell
Jeremy, If you're doing the SQL queries in a custom component (generator, transformer) you can use Cocoon's caching system. Have you class implement Cachable, and in the generateValidity() method you can return an object with the last modification date of the database. see : http

Re: Caching results of SQL Queries?

2002-11-15 Thread Jeremy Quinn
On Friday, Nov 15, 2002, at 17:43 Europe/London, Justin Fagnani-Bell wrote: If you're doing the SQL queries in a custom component (generator, transformer) you can use Cocoon's caching system. Have you class implement Cachable, and in the generateValidity() method you can return an object

Caching results of SQL Queries?

2002-11-14 Thread Jeremy Quinn
pipelines to cache, without using the tricks like browser caching via the 'expires' header on the external pipeline? Thanks for any suggestions. regards Jeremy - Please check that your question has not already been answered

Re: XSP in XSL and Caching problem!

2002-11-11 Thread Tuomo L
be totally automatic in Cocoon with it's otherwise great caching algorithms. I've reported the bug in Bugzilla. -Tuomo - Please check that your question has not already been answered in the FAQ before posting. http

Caching Problem

2002-10-16 Thread Johann Romefort
Hi, I got a problem when calling a pipeline with the cocoon:/ protocol. I always get a cached xml response instead of the updated content. I turned the pipeline component configuration to noncaching but it does not seems to work. Here is the snippet from my sitemap. map:pipeline map:match

Re: XSP in XSL and Caching problem!

2002-10-15 Thread Tuomo Lesonen
changed all the pipelines to noncaching, and everything is set to false that seems like a caching instruction. I've tryed IE6, and NN7, no difference. Help, please! -Tuomo - Please check that your question has not already

XSP in XSL and Caching problem!

2002-10-10 Thread Tuomo Lesonen
. I've changed all the pipelines to noncaching, and everything is set to false that seems like a caching instruction. I've tryed IE6, and NN7, no difference. Help, please! -Tuomo - Please check that your question has

Re: XSP in XSL and Caching problem!

2002-10-10 Thread Rui Leal
- Original Message - From: Tuomo Lesonen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, October 10, 2002 3:52 PM Subject: XSP in XSL and Caching problem! I'm using 2.1-DEV, and one file in my application is a XSL page which generates XSP for the serverpagesGenerator

Re: XSP in XSL and Caching problem!

2002-10-10 Thread Timothy Larson
tomcat helps. And after one reload of that page it's still the same. I've changed all the pipelines to noncaching, and everything is set to false that seems like a caching instruction. I've tryed IE6, and NN7, no difference. Help, please! -Tuomo

Re: General questions about caching in Cocoon

2002-10-09 Thread Vadim Gritsenko
for doing this. Also, I am building a site that has three versions per page (Flash, non-Flash, etc.) and that uses cookies to set a user's preference. All of my cookie logic is specified in sitemap.xmap, so I am already committed to using Cocoon as a servlet. Are there caching issues

Re: URL caching in pipelines

2002-10-09 Thread Vadim Gritsenko
Miles Elam wrote: I want to put a Slashdot feed on my web page with the following (out of context for brevity): pipeline map:match pattern=feeds/slashdot.org map:generate src=http://slashdot.org/slashdot.xml/ map:serialize type=xml/ /map:match /pipeline This works fine, but

URL caching in pipelines

2002-10-06 Thread Miles Elam
I want to put a Slashdot feed on my web page with the following (out of context for brevity): pipeline map:match pattern=feeds/slashdot.org map:generate src=http://slashdot.org/slashdot.xml/ map:serialize type=xml/ /map:match /pipeline This works fine, but the server opens a socket

Re: URL caching in pipelines

2002-10-06 Thread Ivelin Ivanov
Try the WebServicesProxyGenerator. It uses the HttpClient library, which might actually support caching. Have not tried it though. Ivelin - Original Message - From: Miles Elam [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 06, 2002 9:13 PM Subject: URL caching

Re: URL caching in pipelines

2002-10-06 Thread Miles Elam
Ivelin Ivanov wrote: Try the WebServicesProxyGenerator. It uses the HttpClient library, which might actually support caching. Have not tried it though. Ivelin Thanks, but a quick browse through the source doesn't reveal anything about forced caching. To be more specific, the HttpClient

RE: General questions about caching in Cocoon [REPOST under correct subject]

2002-10-05 Thread Geoff Howard
. Also, I am building a site that has three versions per page (Flash, non-Flash, etc.) and that uses cookies to set a user's preference. ... Are there caching issues with such an approach? There have been some recent changes to the caching mechanism which I haven't followed extremely closely

General questions about caching in Cocoon

2002-10-04 Thread Lenz, Evan
per page (Flash, non-Flash, etc.) and that uses cookies to set a user's preference. All of my cookie logic is specified in sitemap.xmap, so I am already committed to using Cocoon as a servlet. Are there caching issues with such an approach? If performance ultimately becomes a problem, I suppose I

Re: About Auth Framework - Caching

2002-09-21 Thread Alan Hodgkinson
to it. :) Caching user specific information in the session is a normal trick for boosting performance. You just need to be aware that database updates from other users or administrators may make it out of date. Typically you need to restart the application or implement some sort of 'reset' mechanism that gets

Re: About Auth Framework - Caching

2002-09-21 Thread Antonio Gallardo Rivera
Cocoon Java classes. In fact, if your database server is on a separate machine you'll need some more bandwidth to talk to it. :) Caching user specific information in the session is a normal trick for boosting performance. You just need to be aware that database updates from other users

troubles with emailing and cocoon's caching ?

2002-09-11 Thread Barbara Post
Hello, I have a page : html form, which some values are hidden, some other to be filled by user. Then submitting the form sends an email (action) When the browser displays the page from its cache (because I hit back), instead of cocoon's regeneration I get duplicate values in the submitted

Fw: troubles with emailing and cocoon's caching ?

2002-09-11 Thread Barbara Post
with emailing and cocoon's caching ? Hello, I have a page : html form, which some values are hidden, some other to be filled by user. Then submitting the form sends an email (action) When the browser displays the page from its cache (because I hit back), instead of cocoon's regeneration I get

Re: Fw: troubles with emailing and cocoon's caching ?

2002-09-11 Thread Antonio Gallardo Rivera
/ map:redirect-to uri=menu/ /map:act .; - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 2:21 PM Subject: troubles with emailing and cocoon's caching ? Hello, I have a page : html form

Re: Fw: troubles with emailing and cocoon's caching ?

2002-09-11 Thread Antonio Gallardo Rivera
=menu/ /map:act .; - Original Message - From: Barbara Post [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 11, 2002 2:21 PM Subject: troubles with emailing and cocoon's caching ? Hello, I have a page : html form, which some

Subject: cocoon 2.0.3 embedded xsp caching problem

2002-09-11 Thread Timothy Larson
value={1}.xmap/ map:mount check-reload=yes src={../1}.xmap uri-prefix= reload-method=synchron/ /map:act /map:match /map:pipeline /map:pipelines /map:sitemap ?xml version=1.0? ?cocoon-disable-caching? !-- File: test/sample.xmap

IE, caching and c2.1

2002-09-05 Thread Barbara Post
Now with cocoon 2.1, when I hit control and F5 to force reload of page after modification of the sitemap the page doesn't want to reload, cocoon has cached it and seems to ignore that sitemap has changed... I use Internet Explorer 5.5. If I modify the url sitemap changes are effective. With

Re: Xalan, xsl fucnction document(), caching ?

2002-08-30 Thread Frédéric Glorieux
Thank you all, Some replies on different points I have improved performance by using an xsl:variable at the top of my xslt and give it the value of document(...). Later on you just refer to the variable. It's a Xalan problem, it got a bugzilla id, but it's scheduled to be fixed at

XSP caching and jsessionid

2002-08-20 Thread Michael Zehrer
Hi List, after getting xsp caching to work (which is really fun), there is a problem with pages that include urlrewritten links containing that jsessionid=, is there any solution fot making these pages chacheable? Cheers Michael

Re: XSP caching and jsessionid

2002-08-20 Thread Joerg Heinicke
I don't think so. The best way is to add the URL rewriter as a single transformation step on the end of the pipe. Regards, Joerg Michael Zehrer wrote: Hi List, after getting xsp caching to work (which is really fun), there is a problem with pages that include urlrewritten links

AW: XSP caching and jsessionid

2002-08-20 Thread Michael Zehrer
But then I would have a cached copy only for each user/session? But I want a global cache... -Ursprüngliche Nachricht- Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 20. August 2002 14:47 An: [EMAIL PROTECTED] Betreff: Re: XSP caching and jsessionid Michael Zehrer

Re: AW: XSP caching and jsessionid

2002-08-20 Thread Vadim Gritsenko
are talking here about jsessionid only, no cookies, right? Vadim -Ursprüngliche Nachricht- Von: Vadim Gritsenko [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 20. August 2002 14:47 An: [EMAIL PROTECTED] Betreff: Re: XSP caching and jsessionid Michael Zehrer wrote: Hi List, after getting

AW: XSP Caching Cinclude

2002-08-13 Thread Michael Zehrer
]] Gesendet: Montag, 12. August 2002 16:40 An: [EMAIL PROTECTED] Betreff: RE: XSP Caching Cinclude From: Michael Zehrer [mailto:[EMAIL PROTECTED]] Hi List, can someone explain the miracles of XSP caching to me. In my case I have a xsp generator, which includes data from the session, a taglib

RE: XSP Caching Cinclude

2002-08-13 Thread Vadim Gritsenko
Gritsenko [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 12. August 2002 16:40 An: [EMAIL PROTECTED] Betreff: RE: XSP Caching Cinclude From: Michael Zehrer [mailto:[EMAIL PROTECTED]] Hi List, can someone explain the miracles of XSP caching to me. In my case I have a xsp generator

XSP Caching Cinclude

2002-08-12 Thread Michael Zehrer
Hi List, can someone explain the miracles of XSP caching to me. In my case I have a xsp generator, which includes data from the session, a taglib, and some static xml from the Cinclude transformer, I want at leat the Cincluded data to be cached. Michael

RE: XSP Caching Cinclude

2002-08-12 Thread Vadim Gritsenko
From: Michael Zehrer [mailto:[EMAIL PROTECTED]] Hi List, can someone explain the miracles of XSP caching to me. In my case I have a xsp generator, which includes data from the session, a taglib, and some static xml from the Cinclude transformer, I want at leat the Cincluded data

AW: caching strategy

2002-07-30 Thread Sternath Elmar
Hi Vadim, thanks for your support. Caching works now for JSPs and also for CIncludeTransformer as long as I get my XML input from static xml files. Unfortunately, I have to get my XML input via HTTP requests from a remote server. In this case, these requests are always executed, caching does

caching strategy

2002-07-25 Thread Sternath Elmar
input streams. Reading and Re-Reading is exactly the same pipeline match. As reading of the data is time-consuming I only want to get data from the server after a manipulating request. Any suggestions for a caching strategy, maybe by extension of the CachingCIncludeTransformer?? Regards, Elmar

RE: caching strategy

2002-07-25 Thread Vadim Gritsenko
. CIncludeTransformer is used to concatenate multiple input streams. Reading and Re-Reading is exactly the same pipeline match. As reading of the data is time-consuming I only want to get data from the server after a manipulating request. Any suggestions for a caching strategy, maybe by extension

RE: caching strategy

2002-07-25 Thread Mark S. Kent
I got sidetracked and am now trying (once again) to get Cocoon2 running on our Linux server. We are using Cocoon 2.0.2, Tomcat 3.2.2 (with Apache), RedHat 7.1, and IBM JDK 1.3.0. My last post (12 Apr 2002) left me with this error message on Cocoon startup: message Language Exception

Caching DirectoryGenerator.

2002-07-12 Thread ROSSEL Olivier
result. If there is no caching system, I would like to make a kind of home-made caching strategy, using a separate file which timestamp would keep track of the modification in my directories (== I 'touch' this file each time I write something in my directories), so I check this timestamp against

RE: Caching DirectoryGenerator.

2002-07-12 Thread Vadim Gritsenko
the DirectoryGenerator almost always gives the same result. If there is no caching system, I would like to make a kind of home-made caching strategy, using a separate file which timestamp would keep track of the modification in my directories (== I 'touch' this file each time I write

RE: No-caching for SVG's

2002-07-10 Thread Geoff Howard
Sorry, was out of town for a while and unable to keep up with the list. Did you get this to work? Geoff Howard - Please check that your question has not already been answered in the FAQ before posting.

RE: No-caching for SVG's

2002-07-02 Thread Morrison, John
you don't want caching in a map:pipeline type=noncaching/ pipeline. Give it a try, it works for me ;) J. === Information in this email and any attachments are confidential, and may not be copied or used by anyone

RE: No-caching for SVG's

2002-07-01 Thread Morrison, John
I think you got drown'd in a thread war, sorry :) You don't say what version of Cocoon you are using or what browser you are targeting. The way around this (for the latest cvs version of Cocoon) is to wrap anything you don't want caching in a map:pipeline type=noncaching/ pipeline. Give

Re: No-caching for SVG's

2002-07-01 Thread Spectron International, Inc.
Subject: RE: No-caching for SVG's I think you got drown'd in a thread war, sorry :) You don't say what version of Cocoon you are using or what browser you are targeting. The way around this (for the latest cvs version of Cocoon) is to wrap anything you don't want caching

No-caching for SVG's

2002-06-25 Thread Spectron International, Inc.
I asked this before but I didn't got a definite answer so I'll ask this another way. I'm creating SVGs using information retrieved from a database that can change at any time. I don't want the SVG's cached anywhere. Right now when I click on a link that will display an SVG it works, but if I

RE: No-caching for SVG's

2002-06-25 Thread Geoff Howard
I think that browsers are more aggressive caching images than html. The assumption seems to be that images do not change as often. That's not authoritative, just my theory from experience trying to do things like what you're doing. The good news is that browsers should respect a last-modified

Re: SVG Caching question

2002-06-18 Thread Spectron International, Inc.
Ok, I checked around and changed the default pipeline type from caching to noncaching. Now if I select refresh from the browser, it changes the png like it should. The problem I have now is that it only does it when I click refresh. For example, I have a document that has 2 links to the same path

cinclude caching bug

2002-05-30 Thread Ulf Sauerland
Hello, there is a well known bug in the CachingCIncludeTransformer, which prevents the caching algorithm from determining the correct cache validity in some (almost every non trivial) cases. This makes the transformer useless in the general practise. Months ago there was a diskussion about

Re: XIndice and Caching

2002-05-17 Thread Ivelin Ivanov
- Original Message - From: Vadim Gritsenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, May 16, 2002 7:20 AM Subject: RE: XIndice and Caching From: Alex McLintock [mailto:[EMAIL PROTECTED]] Hi folks, I have a XIndice backed Cocoon website which I want to speed

RE: XIndice and Caching

2002-05-17 Thread Stephen Ng
on getting them to work together? --Stephen Ng -Original Message- From: Ivelin Ivanov [mailto:[EMAIL PROTECTED]] Sent: Friday, May 17, 2002 9:27 AM To: [EMAIL PROTECTED] Subject: Re: XIndice and Caching - Original Message - From: Vadim Gritsenko [EMAIL PROTECTED

RE: XIndice and Caching

2002-05-17 Thread Stephen Ng
Never mind, I a couple of emails from cocoon-dev which answer my questions: - How much faster (roughly) is xsltc? People keep discussing benchmarks for various XSLT interpreters, trying to make the best choice. I think we've already agreed that nothing beats XSLTC .. that is when it works. -

Re: XIndice and Caching

2002-05-16 Thread Ugo Cei
Alex McLintock wrote: The second thing I am looking at is trying to use Cocoon/Avalon caching and I am not sure I understand it. Do I cache the database results, or the xml/html which we get from them after being processed by XSLT ? My XML database changes very infrequently - can I

RE: XIndice and Caching

2002-05-16 Thread Vadim Gritsenko
Cocoon/Avalon caching and I am not sure I understand it. Do I cache the database results, or the xml/html which we get from them after being processed by XSLT ? Xindice does not support any metadata (yet), including last modification date. This makes any caching of the xindice results

XIndice and Caching

2002-05-15 Thread Alex McLintock
Hi folks, I have a XIndice backed Cocoon website which I want to speed up. It is far too slow. One thing I need to reduce is the number of XSLT for loops, but that's for another time. The second thing I am looking at is trying to use Cocoon/Avalon caching and I am not sure I understand

How does one control caching when using xsl:include?

2002-05-11 Thread Steven Punte
Dear Cocoon User Group: I've began separating my XSL stylesheet into multiple files (i.e. due to size) using the xsl:include tag. But now I loose the automatic caching/ detection and behavior of Cocoon on any of the sub-stylesheet files. Is there a way (i.e. configuration

RE: caching proposals

2002-05-10 Thread Michael Cortez
What I'd like to see is a flag that I can use to mark a map as cached and the ability to specify a time-out. For example: map:match pattern=test/* map:generate src=xmldb:xindice://localhost:4080/db/test/{1}/ map:serialize type=xml/ map:cache timeout=300 regenerate=async/ /map:match

  1   2   >