[Catalyst] Capture page on server?

Matt S Trout dbix-class at trout.me.uk
Sun Jul 20 00:36:23 BST 2008

On Tue, Jun 24, 2008 at 12:23:05AM +0800, Martin Ellison wrote:
> I actually want to save a static copy of the front page to improve load
> times. My fastcgi process sometimes disappears (I'm on shared hosting and I
> think they auto-cancel stale processes), and it takes a while for the
> process to be restarted, which impacts the first page load. Subsequent pages
> are faster but it's the first page that makes the impression on the user.
> The static plugin does not work, because that requires fastcgi to be
> running, and my app is too small for me to set up squid.
> So I want to redirect the front page to a static page, but regenerate the
> static page, and also force the app to do something (so the server can
> restart the fastcgi process before the user requests any other page).

Catalyst::Plugin::PageCache ?

      Matt S Trout       Need help with your Catalyst or DBIx::Class project?
   Technical Director                    http://www.shadowcat.co.uk/catalyst/
 Shadowcat Systems Ltd.  Want a managed development or deployment platform?
http://chainsawblues.vox.com/            http://www.shadowcat.co.uk/servers/

More information about the Catalyst mailing list