Is it more efficient (Performance) to store the CFC in application variables OR instance the CFC on the page call?
- by Mitchell Guimont
Hello,
I'm working on a ColdFusion dynamic website. For this website, there are a lot of CFCs and a lot of functions within each CFC. Would it be more efficient to store an instance of the CFC in an application variable, then to instance each CFC separately on each page load.
For each page, at most 2 separate CFCs get called. I'm also interested in how performance will be effected when requests increase (Stress).
Thanks!