using render for template caching
  • Vote Up0Vote Down mariamaria
    Posts: 38Member
    I am using render for template caching  but it always shows new content, shouldn't wait 100 seconds to show the new content?
    {{ render file="_tpl/mytplfile.tpl" issue=off section=off cache=100 }}

  • 2 Comments sorted by
  • Vote Up0Vote Down Andrey PodshivalovAndrey Podshivalov
    Posts: 1,526Member, Administrator, Sourcefabric Team
    in Configure\System Preferences set Template Cache Handler as DB
  • It always updates when there is new content. Only if the content hasn't changed it will keep a cache copy for 100 seconds.