Jamie Jackson wrote: > I (think) I've seen folks recommending <cfimport> over <cf_MyTag> and > <cfmodule template="MyTag"> for custom tag calls. > > I usually use a custom tag for header/footer inclusion like this > <cf_MySiteHeadFoot ...> > my body > </cf_MySiteHeadFoot> > > But was wondering if there's an advantage to cfimport.
cfimport is a compile-time directive and does not have an execution time overhead (but your compiled template will be inflated). > (Also, does cfimport allow cf-mapped paths now? I read that it didn't used > to, at least.) It does as long as they are defined at compile time. Jochem ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade & see new features. http://www.adobe.com/products/coldfusion Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272399 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4