aaaah the Essence of Fusebox :-) before you embark on this project you may
wish to take a look at http://www.fusebox.org for more information on this
coding technique.  Basically it involves "recycling" queries, action pages,
display pages, etc. for later use.  Have fun!  Honestly though, I don't know
if there is such thing as too many includes.  I suppose each <CFINCLUDE>
degrades performance, but probably neglibly so.

-----Original Message-----
From: Perez, Bismark [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, June 12, 2001 11:29 AM
To: CF-Talk
Subject: How many <cfincludes> are to many?


Does anybody knows how many <cfinclude> are to many and how much (if any)
degradation on the system speed it does?

My approach is to have all the queries in a separate directory and then
include them as needed, now if one template part can be saved as a separate
template (because it can be re-used) and then included I do that, but I also
separate the query that include has into its own file, so in processing one
template the system will have to include that "re-usable" template and then
include the query for that one making it two includes, now it can be that
one base template might have 5 "re-usable" includes each with its own
separate query file.

Does anyone knows what's the toll this approach takes on the server?

Bismarck Perez
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to