macromedia.coldfusion.advanced_techniques
[Top] [All Lists]

What is the best way to auto-generate pages at an interval?

Subject: What is the best way to auto-generate pages at an interval?
From: Michael Brown <michael.brown@xxxxxxxxxxxxxxxx>
Date: Thu, 31 Jul 2008 15:12:32 +0000 (UTC)
Newsgroups: macromedia.coldfusion.advanced_techniques

In order to minimize the server's workload we're exploring ways of auto-
generating pages that have dynamic content throughout our website.

I know we could use CFSCHEDULE and have it make an HTTPRequest as its 
operation to read the dynamic page then use output to write the resultant 
page. However, if an error occurs during the request, the result is can be a 
blank file.

So would it be a better approach to use CFSCHEDULE to run a page that would 
have the error checking using CFTRY and CFCatch, and as a result, have a 
go/no-go in terms of overwriting the previous successful version of the file 
via cffile?

Does anyone have an example of such a system that would keep me from re-
inventing the wheel?

Thanks for your help,

Michael Brown
Webmaster
Texas Department on Aging and Disability Services

<Prev in Thread] Current Thread [Next in Thread>
  • What is the best way to auto-generate pages at an interval?, Michael Brown <=