Config:cache:template time

From phpLDAPadmin

Jump to: navigation, search

Time to cache templates (in secs) before checking for changes. (NEW)

[edit] Configuration Syntax

Category cache
Parameter template_time
Default 60
Applicable Values any integer
Example $config->custom->cache['template_time'] = 60;

Back to config.php

Also see config:cache:template

NOTE: This is a new parameter as of 1.2.x.

[edit] Description

Begining with PLA 1.2.x, templates will be reread without needing to purge the session cache.

This parameter will ensure PLA waits this many seconds before looking for template updates. Once this time has expired, PLA will re-read the directory with the templates, and if any templates have been modified (as detected by their mtime), they will be re-read.

While debugging your custom templates, you may like to temporarily set this value to 0.



Personal tools