vlibTemplate

vLib Logo

8.3. setCacheLifeTime()

Function Description
 setCacheLifeTime(int seconds)

This function sets the lifetime of the cache for this template file to the integer seconds.

Example

  $tmpl->setCacheLifeTime(60); // sets the cache time to 1 minute