Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Is it more efficient to put wrap your entire template in or just the variables that are displayed in the template?

entire Template variables Wrap
0
Posted

Is it more efficient to put wrap your entire template in or just the variables that are displayed in the template?

0

No matter what version, it’s always slower to put at the top at the bottom. The fastest way for the server is that you put a CFOUTPUT around only the bit that contains the variables – otherwise CF has to scan through everything inside the tags to see what it does and doesn’t have to translate for variables/functions. It takes longer to code, but is definitely faster on the server.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123