[Catalyst] how to cache html file after processing by a template in a catalyst applicaiton

Andy Grundman andy at hybridized.org
Thu Feb 16 18:48:07 CET 2006


Sai Tong wrote:
> Hi,
> 
>  What would be the best way to cache the view ouput of catalyst before 
> the output is sent from the webserver to the browser?
> I am using template toolkit as the view component of a catalyst web 
> application and want to save a static html file  for each response 
> generated
> after processing by the template, in addition to sending the html file 
> to the browser.

You may want to check out the PageCache plugin.  It doesn't do exactly what 
you're asking (saving actual html files), but it will cache your page output for 
you.

-Andy



More information about the Catalyst mailing list