ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Reusing channel:entries results for two embeds within one template?

April 30, 2012 9:14am

Subscribe [2]
  • #1 / Apr 30, 2012 9:14am

    PhireGuys

    525 posts

    I’m trying to reduce the number of queries on my home page, and noticed that two embeds on my home page template use the exact same {exp:channel:entries} tag.  Is there any way to just run one query for this and pass the results to the second embedded file?

  • #2 / Apr 30, 2012 5:09pm

    John St-Amand

    865 posts

    Yes, one way would be using Croxton’s excellent stash add-on.

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases