So I'm guessing that you want to make the parts of your page static to reduce the load? You could do something like this by including the "non parsed" code through a variable....something like...
<cfset nonparsed = "<cfoutput>##dateformat(now())##</cfoutput>"> <cfinclude template="header.cfm"> <cfoutput>#nonparsed#</cfoutput> <cfinclude template="footer.cfm"> If you cfhttp'd the above file, and then saved it again with a .cfm extension, the "non parsed" code should still be intact and run when the new file is called. On 3/23/06, Chris Bunting <[EMAIL PROTECTED]> wrote: > Hello, > I've been messing around with cfhttp to grab content locally to get the > dynamic content and write it to a static page. > > What I've been trying to do is to find out if there is a way to get cfhttp to > save the page without parsing the actual cfm code.. > > Basicly, the page includes a simple cfmail form. At the beginning, it checks > to see if the form was submitted, if not, is will display the form. However, > when I crab the page via cfhttp, it removes the actual cfml code and only the > form is contained in the file so it won't work. > > Is there anyway to put something like a start and end comment into the actual > page so that cfhttp will parse everything but still leave the code intact > between the start and end tags? > > <!-- START NO PARSE --> > <CFIF FORM. BLAH> > MYCODE > <CFELSE> > MYFORM > </CFIF> > <!-- END NO PARSE --> > > Thanks for your time, > Chris > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236102 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

