Skip to content

Instantly share code, notes, and snippets.

@croxton
Created January 27, 2012 14:30
Show Gist options
  • Save croxton/1689038 to your computer and use it in GitHub Desktop.
Save croxton/1689038 to your computer and use it in GitHub Desktop.
caching with Stash
{exp:stash:set
name="my_cached_blog_entries"
save="yes"
scope="site"
parse_tags="yes"
replace="no"
refresh="60"
output="yes"
}
{exp:channel:entries channel="blog"}
<p>{title}</p>
{/exp:structure_channel:entries}
{/exp:stash:set}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment