A CF_tag has more paths to search as it has to check I fthe tag is in
current folder and then the custom tags folder, plus it has to check for
any passed params. So a cfinclude should be faster overall.

Russ Michaels
Macromedia/Allaire Certified ColdFusion Developer
 
CFDeveloper
The free resource and community for ColdFusion developer.
http://www.cfdeveloper.co.uk

Join the CFDeveloper discussion lists.
To subscribe send an e-mail to [EMAIL PROTECTED]


> -----Original Message-----
> From: Terry Riley [mailto:[EMAIL PROTECTED] 
> Sent: 27 October 2003 09:35
> To: [EMAIL PROTECTED]
> Subject: [ cf-dev ] cfinclude versus cf_
> 
> 
> What's the consensus?
> 
> Is it better (or faster) to use 
> 
> '<cfinclude template="xxxx.cfm">'
> 
> or
> 
> '<cf_xxxx>'
> 
> in the middle of a display page?
> 
> I've tried both ways, and don't seem to see any difference 
> (on CF5) except 
> when trying to validate using Studio's built-in validator.
> 
> Sure, the second form is easier to type, but does it have any 
> disadvantages, except as noted?
> 
> Cheers
> Terry 
> 
> -- 
> ** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/
> 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: 
> [EMAIL PROTECTED] For human help, e-mail: 
> [EMAIL PROTECTED]
> 


-- 
** Archive: http://www.mail-archive.com/dev%40lists.cfdeveloper.co.uk/

To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
For human help, e-mail: [EMAIL PROTECTED]

Reply via email to