Re: Incremental Caching Patches [plus offtopic]

2003-04-15 Thread Jörg Walter
Hi AxDevers... After being submerged in my new contractor's office, which was getting hacked by some annoying trojan right away and cleaning stuff up, I'll finally give my 2 cents to this issue. On Friday, 11. April 2003 13:24, Chris Leishman wrote: > >> It is a smidge hacky I agree. I did it

Re: XSP in a pipeline (was Re: Incremental Caching Patches)

2003-04-14 Thread Chris Leishman
On Monday, April 14, 2003, at 10:09 AM, Matt Sergeant wrote: On Sun, 13 Apr 2003, Chris Leishman wrote: Actually - the Cocoon guys have covered this topic in their basic concepts introduction: http://xml.apache.org/cocoon/userdocs/concepts/index.html#c2- abstractions Their conclusion is pretty much

Re: XSP in a pipeline (was Re: Incremental Caching Patches)

2003-04-14 Thread Matt Sergeant
On Sun, 13 Apr 2003, Chris Leishman wrote: > Actually - the Cocoon guys have covered this topic in their basic > concepts introduction: > > http://xml.apache.org/cocoon/userdocs/concepts/index.html#c2- > abstractions > > Their conclusion is pretty much the same as mine - starting with XSP in > the

Re: XSP in a pipeline (was Re: Incremental Caching Patches)

2003-04-13 Thread Chris Leishman
On Friday, April 11, 2003, at 02:53 PM, Chris Leishman wrote: I guess my way of doing it would be XML -> XSLT (which creates XHTML but also includes XSP tags) -> XSP -> XHTML. That way the XSLT is still responsible for creating the XHTML and then the XSP just adds in the dynamic elements. Bu

Re: devel list (was Re: Incremental Caching Patches [Long])

2003-04-11 Thread Matt Sergeant
On Fri, 11 Apr 2003, Chris Leishman wrote: > On Wednesday, April 9, 2003, at 03:24 PM, Kip Hampton wrote: > > > Okay, I finally had a chance to install the proposed caching patches > > that came from Chris L through the users' list (CC'ing you, Chris since > > I'm not sure if you're subbed here o

XSP in a pipeline (was Re: Incremental Caching Patches)

2003-04-11 Thread Chris Leishman
On Friday, April 11, 2003, at 02:42 PM, Robin Berjon wrote: There's nothing "wrong" with your approach, but you are using XSP to produce XHTML, and the latter /may/ contain styling information. Producing styled output from XSP is imho a bad idea which is why, in the process you describe, starti

Re: Incremental Caching Patches

2003-04-11 Thread Robin Berjon
Chris Leishman wrote: On Friday, April 11, 2003, at 01:42 PM, Kip Hampton wrote: It does change it, though. Your patched version always returns a DOM instance, the current version serializes the result to a string using the XSLT processor's output_string( $result ) if the current process is $las

Re: Incremental Caching Patches

2003-04-11 Thread Robin Berjon
Kip Hampton wrote: Here's what I suggest: 1) Accept the patches. 2) Re-implement the current all-or-nothing" caching behavior of the current Cache.pm using the new interfaces and keep this behavior as the default. 3) Ship Cache::Incremental (or whatever) as a standard alternative. Reasonable? Do

Re: devel list (was Re: Incremental Caching Patches [Long])

2003-04-11 Thread Chris Leishman
On Friday, April 11, 2003, at 02:24 PM, Robin Berjon wrote: That one is dead, but I thought we had carried the subscriber base over. I guess perhaps not and you missed the switch message. I probably signed up after the switch message since I just got the address of the axkit.org website. I've u

Re: Incremental Caching Patches

2003-04-11 Thread Chris Leishman
On Friday, April 11, 2003, at 01:42 PM, Kip Hampton wrote: The content-length was different because the content returned was different. See below. Ok... It does change it, though. Your patched version always returns a DOM instance, the current version serializes the result to a string using th

Re: Incremental Caching Patches [Long]

2003-04-11 Thread Chris Leishman
On Wednesday, April 9, 2003, at 03:24 PM, Kip Hampton wrote: Some things to note and random ideas: * There's small increase in requests per second with caching turned off, but a modest loss with caching turned on. This agrees with my assessment. Of course you should also test with dynamic objec

Re: devel list (was Re: Incremental Caching Patches [Long])

2003-04-11 Thread Robin Berjon
Chris Leishman wrote: On Wednesday, April 9, 2003, at 03:24 PM, Kip Hampton wrote: Okay, I finally had a chance to install the proposed caching patches that came from Chris L through the users' list (CC'ing you, Chris since I'm not sure if you're subbed here or not). I though I was subscribed - but

Re: Incremental Caching Patches

2003-04-11 Thread Kip Hampton
Chris Leishman wrote: Really? I didn't notice that... AFAIK a Content-Length header is only actually returned when delivering from a cache file (apache calculates the content-length, etc, after the $r->filename is set and the handler declines). When delivering normally I noticed that there is

devel list (was Re: Incremental Caching Patches [Long])

2003-04-11 Thread Chris Leishman
On Wednesday, April 9, 2003, at 03:24 PM, Kip Hampton wrote: Okay, I finally had a chance to install the proposed caching patches that came from Chris L through the users' list (CC'ing you, Chris since I'm not sure if you're subbed here or not). I though I was subscribed - but it turns out there a