Rather than a CFLocation, I'd create your static file names such that you know what parameters are going in - Something like cart.cfm?catid=5&productid=39 would become cart_cfm_catid_5_productid_39.htm
In your Verity search results, rather than sending this user to this htm, catch the file name and parse it, sending the user to the .cfm As to creating your static pages, this really depends on your site's structure and logic. I'd do it using CFHTTP or as a CF scheduled task. I'd recommend against doing it EVERY time a page is called. This would inevitably be an excessive load that's unnecessary, unless a page has changed. Simply keep track of data that changes, and in your period static refresh, grab only pages that changed. Another thing to note - even if you grabbed a page every time it ran, that wouldn't update Verity's index, and you definitely DO NOT want to try to reindex Verity everytime a page loads. So I'd just do a nightly, or whatever works best, refresh. --- Billy Cravens Web Development, EDS [EMAIL PROTECTED] -----Original Message----- From: Ben Whalley [mailto:[EMAIL PROTECTED]] Sent: Wednesday, October 03, 2001 10:34 AM To: CF-Talk Subject: creating a static copy of a site Ok, I have been trying to think of ways to create a static copy of a site for Verity to index properly. At the moment it is built from loads of includes etc so if you point verity at it just makes a mess. What I want to do is include something at the bottom of every page which essentially calls itself and writes a copy to a directory which verity indexes. At the top of the copy it would also include <cflocation url="realurl"> so that when the user hits a link in a search results page they go straight to the real copy. Obviously you'd have to keep track of which one's had been hit and whether to re-save it or not. Would it be possible to drop the content of a page into the output of a cffile? How would I avoid the problem of the page going into a loop? Thanks in advance, Ben ---------------------------------------------------------- Ben Whalley, Radley Yeldar 326 City Road, London, EC1V 2SP ---------------------------------------------------------- 0207 7130038 [EMAIL PROTECTED] www.ry.com ---------------------------------------------------------- ----------------------------------------------------------------------- * This message has been processed by MailGuard SMTP from NET-TEL * Computer Systems Ltd. See <http://www.mailguard.co.uk>. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

