CFINCLUDE within CFIF
I have some code that draws in multiple templates using CFINCLUDE
I was originally redirecting to multiple pages with CFLOCATION but it worked out better if I could pull in those pages on an as needed basis with CFINCLUDE.
The question I have is, if these CFINCLUDES are within CFIF statements and the condition is such that they do not need to be loaded, will the code be loaded into the CFM regardless of whether it is needed or not?
I'd like to think that they are only accessed and loaded into CF if needed, especially since I've done the work now and this is an after thought/panic 🙂
