>- see footer for list info -< You may want to expand upon your motivations, Damian, as it could influence what the best solution may be.
For instance, if it's about not wanting to dynamically generate pages that are otherwise static (except perhaps for some header or footer that's INCLUDEd), you could consider CFCACHE instead. That dynamically saves the CFM page output as a .HTM file which CF then serves it up statically in response to requests for the original .cfm file, for whatever duration you indicate. With that approach, the file is still requested as a .cfm file. You may instead not like that the files are requested as .cfm files (there used to be issues with search engines not liking dynamic page filetypes, though that's less an issue now). But even then, you could "fake out" the spider by asking your web server to map .htm file requests to .cfm. Of course, if you have lots of "real" static htm files, there's then a penalty in processing them needlessly through CF. But you could instead leave them as .htm and map the cfm's to be handled as .html files instead. All that, of course, then also requires that you change any code inside your app to change from requests for .cfm files to either .htm or .html. You have to weight that cost. Or maybe you want to put the "site" on a CD. That would be very different, and there are still other solutions. If the site just generates volumes of static pages, the CFHTTP approach Rich mentioned could work. But if the site has dynamic pages (forms, etc) then that's clearly not enough. In such an instance, an alternatives could be to keep it CFML but get a license to run the code off a CD, which while CF doesn't offer such, BlueDragon and others do. But I've just guessed at a few possible motivations. Yours may be entirely different. /Charlie http://www.carehart.org/blog/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Damian Watson Sent: Wednesday, January 03, 2007 8:26 AM To: Coldfusion Development Subject: [CF-Dev] Converting dynamic site into flat pages >- see footer for list info -< Happy New Yeeah all ;) I'm wondering whether there are any tools to convert a dynamically generated CF website into flat htm... ?? Cheers, d _______________________________________________ For details on ALL mailing lists and for joining or leaving lists, go to http://list.cfdeveloper.co.uk/mailman/listinfo -- CFDeveloper Sponsors:- >- cfdeveloper Hosting provided by www.cfmxhosting.co.uk -< >- Lists hosted by www.Gradwell.com -< >- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<
