EE2

Out of context: Reply #15

  • Started
  • Last post
  • 15 Responses
  • ukit0

    http://expressionengine.com/foru…

    Snippets can be considered to actually be part of the template that they are used on, with their expanded contents parsed simultaneous to other tags and variables on the template. Embedded templates are separate templates, with their own preferences (caching, PHP parsing, access, etc.), and are parsed individually. Put another way, embedded templates are not included in the parent template, but rather added to them after the fact, using a separate query and full page parsing resources for each template.

    If you were using the solspace template caching module I'm not sure that overall effect is all that different, but I'm noticing my test site seems building the pages a lot faster.

View thread