Matt,

> Do the pages truly have to be static?  I do something that only requires
CFFILE to generate its run of templates ... which are just copies with
different filenames, where the filename incorporates the key ID and there's
code inside to pull that ID out and use it.  Doesn't affect the resources
the page needs to display, but is an easy way to make the page crawlable.  I
can provide a code sample if you'd like.

The way I'm working now is including the statics pages using application.cfm
when a product_id appears in the url.

Is there a better way, other then converting all content to static pages?
(I don't want to use query caching as it will not do and eat all the
memory).

Thanks.

>
> ---------------------------------------
> Matt Robertson    [EMAIL PROTECTED]
> MSB Designs, Inc., www.mysecretbase.com
> ---------------------------------------
>
> > CF 5.0 chokes after trying to do the following (openeing
> > lots and lots of cfhttps to make static pages from my
> > product template). I know it's an hard job, but is there
> > a solution? how can I try and perfom this task without
> > splitting the records?
> >
> > <cfquery name="Generate_pages" .... blockfactor="100">
> >     SELECT TOP 2000 Product_id
> >     FROM Products
> >     ORDER BY Product_id
> > </cfquery>
> >
> > <cfloop query="Generate_ct_pages">
> > <cfhttp
> > url="http://mydomain/generate.cfm?id=#Product_id#&generate=1";
> > method="GET" path="#Map_root#\generate\html\"
> > file="#Product_id#.html" resolveurl="false"
> > useragent="CF Fetcher"></cfhttp>
> > </cfloop>
>
>
> 
______________________________________________________________________
Get Your Own Dedicated Windows 2000 Server
  PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionb
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

Reply via email to