I for the first time just last week had to develop 30 promotional pages for different product lines. Client doesn't use CF - I built a database, 2 templates and within 2 hours with one set of variable queries had created 30 flat pages - Ported them over to his server and saved a good 10 hours of fiddling around with static links - increased my per hour 10 fold.
Additionally - yes - in some cases search engines it does work for also. If you don't use something like fusebox and have ? all over your url parameters - search engines will ingore it - they don't want to get lost in those pages. Static pages have their place on the web. Lastly as Paris pointed out - a great point In some cases the static page would indeed be faster depending on the size and scope of a page. There is a whole additional world I believe in using CF as a development tool - not only to deliver. just my .02 cents jay miller Paris Lundis wrote: Rick, It is about speed, scale and deployment from my end and why we run batch flat files from dynamic pages... Actually if you get really nifty, you could create flats, that were just HTML... No CF processing at all on the page request... and deploy the flats to multiple servers for redundancy/load balancing/etc... That's why/how I use such in projects. Paris Lundis Founder Areaindex, L.L.C. http://www.areaindex.com <http://www.areaindex.com> http://www.pubcrawler.com <http://www.pubcrawler.com> 412-292-3135 [finding the future in the past, passing the future in the present] [connecting people, places and things] -----Original Message----- From: "Rick Faircloth" <mailto:[EMAIL PROTECTED]> <[EMAIL PROTECTED]> Date: Wed, 15 Jan 2003 10:43:21 -0500 Subject: RE: Using CFMX to generate Static HTML pages Forgive my ignorance, but what is the purpose of building "static" pages from "dynamic" content? Search engines? (Kinda funny...seems like we all work so hard to make dynamic pages, now we're talking about how to make them static?) Rick -----Original Message----- From: Aaron Johnson [ mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ] Sent: Tuesday, January 14, 2003 11:03 AM To: CF-Talk Subject: RE: Using CFMX to generate Static HTML pages Some people have suggested using CFSAVECONTENT and CFFILE from within your page, or using CFHTTP. I'll instead suggest using an external HTTP fetch utility, like wget, to spider through your content. The advantage of this is that you don't have to make any changes to your existing code, and you don't put extra work on CF as you would with CFHTTP. +1 WGET is a great utility...and you get more bang for your buck on a unix machine... for instance, let's say you want to mirror your company's site... you following the directions I have here ( http://cephas.net/blog/archives/000029.html <http://cephas.net/blog/archives/000029.html> ) to set it up on Windows and then you'd do this from the command line: wget --mirror http://www.yoursite.com/ <http://www.yoursite.com/> On Windows, any pages that depend on URL variables (ie: /news/default.cfm would work fine, but /news/newsdetail.cfm?newsid=10) doesn't get saved on Windows).. they just get ignored as bad file names. On Unix/Linux, you actually get the *all* the pages named by the URL variable... so you'd get /news/default.cfm /news/newsdetail.cfm?newsid=10 /news/newsdetail.cfm?newsid=11 .... Pretty cool... AJ -- Aaron Johnson http://cephas.net/blog/ <http://cephas.net/blog/> [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4