So, how do I make it stop???
Not good when the XML is dynamically generated.
-----Original Message----- From: Ivo Limmen [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 04, 2004 2:00 AM To: [EMAIL PROTECTED] Subject: Re: FileGenerator making two HTTP requests
My take:
1) HTTP GET for XML file.
2) HTTP GET for DTD file (Witch is locally stored in a catalog).
Teator, Michael wrote:
I have an issue with my cocoon where I have a url specified in the
generate
source (type="file") like:
src="http://localhost/whatever.xml"
For some reason it makes TWO requests to this file every time.
Any ideas?
If I change the generate type to "html" then it only makes one request,
How about once for the last modified, once for the content. How are you generating the content? If it's a cocoon pipeline, why not use cocoon: pseudo-protocol? If not, try switching to uncached pipeline. There may be a bug in the way the http protocol handler is working with last-modified - which could of course already be fixed in cvs, so make sure you check bugzilla and/or the cvs head (will soon be released as 2.1.4). Also, if your dynamic process is not able to generate last modified info without going through its whole process then you'll need to either not cache the cocoon end, or look into the event-based cache (eventcache block).
Geoff
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
