[Catalyst] C::P::PageCache patch for reducing duplicate processing

Toby Corkindale toby at ymogen.net
Fri Jun 23 14:54:18 CEST 2006


Perrin Harkins wrote:
> Toby Corkindale wrote:
>> Perrin Harkins wrote:
>>> FYI, that's how Mason does it.
>> What is the behaviour for the first and second requests, before there is 
>> *any* cached content available?
> 
> In Mason?  The same as any other request for un-cached content.  You can 
> read the code and docs here:
> http://search.cpan.org/src/DROLSKY/HTML-Mason-1.33/lib/HTML/Mason/Cache/BaseCache.pm

Ta.

One of the aims of my patch is to avoid the expense of having numerous 
processes produce the same code simultaneously. So on the initial bunch 
of requests, I'll still try and have the code delay all-but-one of them 
from building the page.

Toby



More information about the Catalyst mailing list