I'm no expert on how CF handles files, but when it comes to cfincludes, doesn't CF "cache" them. I mean, that 10ms is CF parsing code, NOT simply accessing the file. I'm sure accessing the first time might take a couple of ms, but after that....
> -----Original Message----- > From: Andrew Scott [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 27, 2002 9:57 AM > To: CF-Talk > Subject: RE: What is the best variable scope? > > > Here is something to ponder:-) > > Although it might not be an issue to some of you, but look at it this > way. If the website is going to be a high traffic website, then Disk > access needs to be considered in the time that a page takes to run. > > The more cfincludes that a request needs, will always add to the > overhead of the time the application needs to run. If we are talking > about a website that is low then forget what I am saying, but if you > have a cfinclude that takes say 10ms to run. The multiply this by the > number of users that could potentially hit the site, you'll see that > this time can bring a servers performance to a critical level. > > Might not sound like it is a big deal, but can be when the time comes:-) > > > -----Original Message----- > From: Bud [mailto:[EMAIL PROTECTED]] > Sent: Thursday, 27 June 2002 12:36 PM > To: CF-Talk > Subject: Re: What is the best variable scope? > > On 6/26/02, Dave Carabetta penned: > >Without belaboring this thread, pre-MX, I don't advocate > >using shared-scope varaibles such as the application scope for these > sorts > >of variables. Period. > > Exactly. I never did see any reason to store a datasource name, or > anything that you have to actually type, as anything but a local > variable. If I have to type > > <cfset application.dsn = "mydsn"> > <cfset variables.dsn = application.dsn> > > and place a lock around it, why not just type > > <cfset variables.dsn = "mydsn"> > > ?? > -- > > Bud Schneehagen - Tropical Web Creations > > _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/ > ColdFusion Solutions / eCommerce Development > [EMAIL PROTECTED] > http://www.twcreations.com/ > 954.721.3452 > > ______________________________________________________________________ This list and all House of Fusion resources hosted by CFHosting.com. The place for dependable ColdFusion Hosting. 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

