Re: ASP Includes Output Caching RFC

2001-09-14 Thread Joshua Chamas
"Joel W. Reed" wrote: > > On Sep 12, [EMAIL PROTECTED] contorted a few electrons to say... > Joshua> Hey, > Joshua> > Joshua> I'm working on an includes output caching mechanism, based > Joshua> on the same dbm cache layer just released for the XSLTCache. > Joshua> The functionality would allow f

Re: ASP Includes Output Caching RFC

2001-09-14 Thread Joel W. Reed
On Sep 12, [EMAIL PROTECTED] contorted a few electrons to say... Joshua> Hey, Joshua> Joshua> I'm working on an includes output caching mechanism, based Joshua> on the same dbm cache layer just released for the XSLTCache. Joshua> The functionality would allow for the output from an include Joshu

Re: ASP Includes Output Caching RFC

2001-09-13 Thread Philip Mak
On Thu, 13 Sep 2001, Joshua Chamas wrote: > I think I've got it... your timestamp parameter will be the LastModified key. > > $Response->Include( { LastModified => $timestamp } > > This mimics the HTTP RFC for Last-Modified header, seen at: > http://www.freesoft.org/CIE/RFC/1945/59.htm (reads

Re: ASP Includes Output Caching RFC

2001-09-13 Thread Joshua Chamas
Philip Mak wrote: > > On Wed, 12 Sep 2001, Joshua Chamas wrote: > > > I think that the invalidate parameter is the Clear I suggest, > > and that Clear could be used to effectively deal with the timestamp > > issue, but the logic must exist outside the caching mechanism. > > Wouldn't it be a bit

Re: ASP Includes Output Caching RFC

2001-09-12 Thread Joshua Chamas
Philip Mak wrote: > > The reason that I suggested a timestamp parameter (which means "regenerate > the page if the cached copy is older than $timestamp") is that the > Response->Include function would already have all the information it needs > for this logic. It has the script filename, it has t

Re: ASP Includes Output Caching RFC

2001-09-12 Thread Philip Mak
On Wed, 12 Sep 2001, Joshua Chamas wrote: > I think that the invalidate parameter is the Clear I suggest, > and that Clear could be used to effectively deal with the timestamp > issue, but the logic must exist outside the caching mechanism. Wouldn't it be a bit complicated to setup this logic, t

Re: ASP Includes Output Caching RFC

2001-09-12 Thread Joshua Chamas
Philip Mak wrote: > Thanks for the feedback. Its much appreciated. > On Wed, 12 Sep 2001, Joshua Chamas wrote: > > > $Response->Include({ > > File => 'file.inc', > > Cache => 3600, # to cache one hour > > Key => [\%data || \@data || \$data || $data || undef] > >

Re: ASP Includes Output Caching RFC

2001-09-12 Thread Philip Mak
On Wed, 12 Sep 2001, Joshua Chamas wrote: > $Response->Include({ > File => 'file.inc', > Cache => 3600, # to cache one hour > Key => [\%data || \@data || \$data || $data || undef] > }, > @args > ); Why is there a time limit on how long something can