|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
yarco Smarty Regular
Joined: 20 Mar 2009 Posts: 39
|
Posted: Fri Jul 17, 2009 7:30 am Post subject: what about the cache? |
|
|
I see someone do a customer function nocache and use it like this:
{nocache}
// something we don't want to cache
{/nocache}
or
{cache expire=86400}
// something we cache it one day
{/cache}
So is it useful or there is alreay such functions valid?? |
|
Back to top |
|
U.Tews Administrator
Joined: 22 Nov 2006 Posts: 5068 Location: Hamburg / Germany
|
Posted: Sun Jul 19, 2009 8:46 pm Post subject: |
|
|
Right now it is possible to set individual cache lifetimes for included templated.
{include file="include.tpl" cache_lifetime=86400} |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|