PDA

View Full Version : Smarty Cache Lifetime


Useless
2009-01-03, 03:43 PM
Is there a setting for $smarty->cache_lifetime = XXX; that would make it so that a Smarty template cache would never expire?

Thank you.

cd34
2009-01-03, 04:01 PM
http://smarty.net/manual/en/variable.cache.lifetime.php


A value of -1 will force the cache to never expire.


:)

Useless
2009-01-03, 06:04 PM
Excellent! Thank you, cd34. |waves|