[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:

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

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

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 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 side

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]

[Catalyst] [Fwd: [rt-users] Security vulnerability in RT 3.0 and up]

2008-06-23 Thread Lance A. Brown
H. Is this something Catalyst needs to worry about? --[Lance] -- GPG Fingerprint: 409B A409 A38D 92BF 15D9 6EEE 9A82 F2AC 69AC 07B9 CACert.org Assurer ---BeginMessage--- All versions of RT from 3.0.0 to 3.6.6 (including some, but not all RT 3.7 development releases) are vulnerable to a

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

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 into

[Catalyst] Re: Capture page on server?

2008-06-23 Thread Aristotle Pagaltzis
* Ryan D Johnson [EMAIL PROTECTED] [2008-06-23 20:40]: I've been mulling over whether there's any reasonable way to fix things to deal with this, but it amounts to any kind of content negotiation needing to run very early (as part of dispatch?) and somehow publishing that information to the

Re: [Catalyst] Re: Capture page on server?

2008-06-23 Thread Ryan D Johnson
Aristotle Pagaltzis [EMAIL PROTECTED] writes: * Ryan D Johnson [EMAIL PROTECTED] [2008-06-23 20:40]: I've been mulling over whether there's any reasonable way to fix things to deal with this, but it amounts to any kind of content negotiation needing to run very early (as part of dispatch?)

Re: [Catalyst] Re: Capture page on server?

2008-06-23 Thread Ryan D Johnson
On Mon, Jun 23, 2008 at 3:40 PM, Aristotle Pagaltzis [EMAIL PROTECTED] wrote: If so, it might make sense for PageCache to pay attention to the Vary header. I imagine that the cache save and lookup code will get significantly more complex, though. Not a whole lot – it needs to incorporate