Re: [Catalyst] Capture page on server?

2008-07-19 Thread Matt S Trout
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 t

Re: [Catalyst] Capture page on server?

2008-06-24 Thread Jonathan Rockway
* On Mon, Jun 23 2008, Ryan D Johnson wrote: > On this subject though, PageCache is a really useful low-work > high-return way to do some simple page caching from Catalyst. It has > built-in support for only caching unauth'd pages, caches based on > wildcards, all kinds of useful stuff. > > But th

Re: [Catalyst] Capture page on server?

2008-06-23 Thread John Romkey
On Jun 23, 2008, at 1:56 PM, Bill Moseley wrote: On Mon, Jun 23, 2008 at 07:10:31PM +0200, Matthias Zeichmann wrote: On Mon, Jun 23, 2008 at 18:23, Martin Ellison <[EMAIL PROTECTED]> wrote: I actually want to save a static copy of the front page to improve load times. did you look into http

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Ryan D Johnson
Bill Moseley <[EMAIL PROTECTED]> writes: > On Mon, Jun 23, 2008 at 07:10:31PM +0200, Matthias Zeichmann wrote: >> On Mon, Jun 23, 2008 at 18:23, Martin Ellison <[EMAIL PROTECTED]> wrote: >> > I actually want to save a static copy of the front page to improve load >> > times. >> >> did you look in

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Brian Kirkbride
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 l

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Bill Moseley
On Mon, Jun 23, 2008 at 07:10:31PM +0200, Matthias Zeichmann wrote: > On Mon, Jun 23, 2008 at 18:23, Martin Ellison <[EMAIL PROTECTED]> wrote: > > I actually want to save a static copy of the front page to improve load > > times. > > did you look into > http://search.cpan.org/dist/Catalyst-Plugin-

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Matthias Zeichmann
On Mon, Jun 23, 2008 at 18:23, Martin Ellison <[EMAIL PROTECTED]> wrote: > I actually want to save a static copy of the front page to improve load > times. did you look into http://search.cpan.org/dist/Catalyst-Plugin-Cache/lib/Catalyst/Plugin/Cache.pm ? you can use various backends with that (fi

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Martin Ellison
As far as I know, the Template Toolkit only caches the compiled templates, not the output. 2008/6/24 Chisel Wright <[EMAIL PROTECTED]>: > 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.

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Chisel Wright
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 Will setting the TTCACHE help at all? -- Chisel Wright e: [EMAIL PROTECTED]

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Martin Ellison
ok, that works thanks (as does the server side wget). 2008/6/23 Kieren Diment <[EMAIL PROTECTED]>: > On 23 Jun 2008, at 21:45, Martin Ellison wrote: > > Sorry, bit of a newbie question: is there any way that I can run an action >> but capture the results (server-side) to a file? Doing so client

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Martin Ellison
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

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Jonathan Rockway
* On Mon, Jun 23 2008, Martin Ellison wrote: > Sorry, bit of a newbie question: is there any way that I can run an action but > capture the results (server-side) to a file? Doing so client side is easy (eg > wget) but I want to keep the page text on the server and to automate the page > generation/

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Octavian Rasnita
From: "Martin Ellison" <[EMAIL PROTECTED]> > Sorry, bit of a newbie question: is there any way that I can run an action > but capture the results (server-side) to a file? Doing so client side is > easy (eg wget) but I want to keep the page text on the server and to > automate the page generation/sa

Re: [Catalyst] Capture page on server?

2008-06-23 Thread Kieren Diment
On 23 Jun 2008, at 21:45, Martin Ellison wrote: Sorry, bit of a newbie question: is there any way that I can run an action but capture the results (server-side) to a file? Doing so client side is easy (eg wget) but I want to keep the page text on the server and to automate the page generatio

[Catalyst] Capture page on server?

2008-06-23 Thread Martin Ellison
Sorry, bit of a newbie question: is there any way that I can run an action but capture the results (server-side) to a file? Doing so client side is easy (eg wget) but I want to keep the page text on the server and to automate the page generation/save. -- Regards, Martin ([EMAIL PROTECTED]) IT: ht