function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
MichaelRusso212MichaelRusso212 

Performance: Components vs Templates

Are there performance differences between using components vs templates? 
Cool_DevloperCool_Devloper

That's an answer, even I would like to get;)

Moreover, what is the best practice?

Cool_D

BeeddiskShahBeeddiskShah

Erm.... i was under the impression that Components are reusable component which are helpful to achieve a certain functionality.

 

Create a reusable component and use it on your VF pages.

 

While template is used to expose Sites on VF. Build a template and the page composites itself to give consistent look and feel to sites.

 

If this is true, there is no comparision between the two... its like comparing a mixer with a vaccum cleaner...not a healthy comparision, is it??

 

Was I wrong??

 

Experts...any comment?

Cool_DevloperCool_Devloper

Well,

I agree that both the things have their own defined usage, but still i would like to know, how differently does the Interpretor works with both these?

My question is not around the comparison, but rather around the way the page is loaded from the server for each of these!

Cool_D

Message Edited by Cool_Devloper on 12-04-2009 08:05 AM