On Thu, 6 Dec 2001, Paul Lindner wrote: > On Thu, Dec 06, 2001 at 10:04:26AM -0800, Bill Moseley wrote: > > At 08:19 AM 12/06/01 -0800, Paul Lindner wrote: > > > > Ok, hit me over the head. Why wouldn't you want to use a caching proxy? > > Apache::CacheContent gives you more control over the caching process > and keeps the expiration headers from leaking to the browser. Or > maybe you want to dynamically control the TTL? > > sub ttl { > ... > if ($load_avg > 5) { > return 60 * 5; > } else { > return 60; > } > }
While a ttl might be useful to some projects, others I'm sure would prefer a per-hit checking, so you can say "Yes, this thing has changed now". Just a thought. -- <Matt/> /|| ** Founder and CTO ** ** http://axkit.com/ ** //|| ** AxKit.com Ltd ** ** XML Application Serving ** // || ** http://axkit.org ** ** XSLT, XPathScript, XSP ** // \\| // ** mod_perl news and resources: http://take23.org ** \\// //\\ // \\