]> git.koha-community.org Git - koha.git/commit
Bug 7511 [ENH] Template caching (T::T feature)
authorPaul Poulain <paul.poulain@biblibre.com>
Fri, 10 Feb 2012 08:45:34 +0000 (09:45 +0100)
committerPaul Poulain <paul.poulain@biblibre.com>
Mon, 13 Feb 2012 10:01:46 +0000 (11:01 +0100)
commit1161079e1f14c681e82e139e72291af35d6f9b98
tree63393db63fc2eec6815c1850a8678b4919cc06db
parent858efb488643979eeddcf99f532e1bfaa45287d5
Bug 7511 [ENH] Template caching (T::T feature)

Just add to your Koha configuration file
<template_cache_dir>/path/writable/by/apache/user</template_cache_dir>
in the <config> block, and Koha will use template caching, for about
10% CPU time saving.

on linux servers, /tmp is usually OK

(also fixes an indenting with a TAB)

Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
The results of using this are very striking. Based on an insufficient
sample size, it would seem that the time spent in T::T is reduced by a
factor of at least 5.

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
C4/Templates.pm