For more info on IIF and DE you can look at this old article.
http://www.fusionauthority.com/alert/index.cfm?alertid=1#Tech1

At 05:24 PM 3/4/02, you wrote:
>Well you can use it without the DE and gain some speed. Just an opinion
>
>
>
>
>
>"Success is a journey, not a destination!!"
>
>
>
>Doug Brown
>----- Original Message ----- 
>From: "Michael Dinowitz" <[EMAIL PROTECTED]>
>To: "CF-Talk" <[EMAIL PROTECTED]>
>Sent: Monday, March 04, 2002 2:17 PM
>Subject: Re: site performance questions
>
>
>> Or not as IIF() is a lot slower than plain CFIF. I'd rather have a 
>bunch of
>>  bulky CFIF statements on a page than have a smaller looking statement 
>that
>>  slows it down.
>> http://www.fusionauthority.com/alert/index.cfm?alertid=9#Tech1
>> 
>> At 05:08 PM 3/4/02, you wrote:
>> >Not alot of performance issues, but you could consider using iif() 
>> >instead of a bunch of <cfif>
>> >
>> >
>> >
>> >
>> >Doug Brown
>> >----- Original Message ----- 
>> >From: "Gilbert Midonnet" <[EMAIL PROTECTED]>
>> >To: "CF-Talk" <[EMAIL PROTECTED]>
>> >Sent: Monday, March 04, 2002 1:41 PM
>> >Subject: site performance questions
>> >
>> >
>> >> I'm redesigning a site and I have questions regarding how the use 
>of
>> >> <cfapplication> and <cfinclude> affects performance.
>> >> 
>> >> 1. I have a drop-down navigation in a top frame. I would like to 
>put 
>> >the
>> >> graphics in the nav to change according to the section the user is 
>in 
>> >and am
>> >> wondering about how my alternatives affect load time.
>> >> 
>> >> a.  For each navigation element use an if-else. If user is in
>> >> directory A show {graphicA_on} else {graphicA_off}. If user is in 
>> >directory
>> >> B show {graphicB_on} else (graphicB_off}.
>> >> b. Use <cfapplication>
>> >> 
>> >> 2. Each page has a hardcoded left-side navigation with each page 
>> >having the
>> >> corresponding link highlighted. Of course this leads to maintenance
>> >> problems. I would like to use 
>> >> 
>> >> if this.document.url = url then X else Y in an include file or
>> >> cfapplication file.
>> >> 
>> >> 
>> >> The coding is simple. I'm concerned about performance.  How does 
>much 
>> >does
>> >> this if-elses and includes slow things down? On average there are 
>> >20,000
>> >> page hits/day.
>> >> 
>> >> TIA
>> >> 
>> >> 
>> >> Gilbert Midonnet
>> >> BrokerTec USA, LLC
>> >> (201) 209-7843
>> >> 
>> >> 
>> >> 
>> >> 
>> >> 
>> 
>>------------------------------------------------------------------------
>-
>> >---
>> >> ---------------------------------------------------
>> >> This message is for the named person's use only. It may contain
>> >> confidential, proprietary or legally privileged information. No
>> >> confidentiality or privilege is waived or lost by any 
>mistransmission. 
>> >If
>> >> you receive this message in error, please immediately delete it and 
>
>> >all
>> >> copies of it from your system, destroy any hard copies of it and 
>> >notify the
>> >> sender. You must not, directly or indirectly, use, disclose, 
>> >distribute,
>> >> print, or copy any part of this message if you are not the intended
>> >> recipient.
>> >> 
>> >> 
>> >> 
>> >> 
>> >
>> 
>
______________________________________________________________________
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