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.

Template Caching and embeds

February 01, 2012 4:50pm

Subscribe [1]
  • #1 / Feb 01, 2012 4:50pm

    Matt Fordham

    14 posts

    I have a page that is set to cache in the template manager. It doesn’t seem to be caching properly though. Some content (included via a template embed) is refreshing on every page reload (content order is set to random).

    Do I need to set the embedded templates to cache too?

    Thanks!

  • #2 / Feb 02, 2012 7:49pm

    Sean C. Smith

    3818 posts

    Hi Matt Fordham,

    You’ll need template caching enabled for each template you want cached. Template A won’t be cached merely because it’s embedded into Template B unless Template A is itself set to cache.

    Does that help? Is there anything else I can do?

    Sean

  • #3 / Feb 02, 2012 7:51pm

    Matt Fordham

    14 posts

    That helps, thanks!

  • #4 / Feb 06, 2012 3:37pm

    Shane Eckert

    7174 posts

    Hello Matt,

    It looks like Sean got you squared away.

    If you need anything else, just let us know.

    Thank you for using the ExpressionEngine forums!

    Cheers,

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

ExpressionEngine News!

#eecms, #events, #releases