> I was wondering if anyone has bothered to look at best > practices CFIF statements. I've been following the > guidelines in this article in CFDJ by Tom Nunamaker: > > http://www.sys-con.com/coldfusion/articleprint.cfm?id=533 > > I then realized that the article was written against CF5. > Does anyone know if these same suggestions apply to CFMX?
I'll start this by saying that I have no idea which is faster in CFMX. However, I don't think it matters at all. These sorts of optimization guidelines/tests have several serious problems - they don't account for changes between versions, the tests themselves aren't reflective of actual usage patterns in real life (simple iteration tests work fine to measure a single-user environment; load tests are required to measure a multi-user environment), and, most damning in my eyes, the differences are usually insignificant anyway. I would recommend that you take a long, hard look at caching and other methods for doing work before runtime, instead of worrying about how to optimize a CFIF. But that's just my opinion. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ voice: (202) 797-5496 fax: (202) 797-5444 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

