vlibTemplate

vLib Logo

8.4. setCacheExtension()

Function Description
 setCacheExtension(string ext)

This function sets the extension that vlibTemplateCache will use to locate the cached file.

Example

  $tmpl->setCacheExtension('txt'); // sets the cache time to 1 minute


Note
Do not include the full stop ('.') in the above string.