Jump to:

3439 Posts in 1028 Topics by 869 members

Template Questions

SilverStripe Forums » Template Questions » Cache only works in some ss files

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 247 Views
  • naifas
    Community Member
    1 Post

    Cache only works in some ss files Link to this post


    I've been trying to implement the <% cached %> <% end_cached %> in my website and I'm trying to cache the header and footer. Each one have its own .SS template and cached tags only work on footer.
    zendcache files are being generated for both, but only footer uses it.

    I've SS_Cache::set_cache_lifetime($for = 'any', $lifetime = 3600, $priority = 100); in my site _config.php.

    Any thoughts about this problem that I'm having troubled with?

    Best Regards.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.