]> 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)
committerChris Nighswonger <chris.nighswonger@gmail.com>
Mon, 20 Feb 2012 02:00:19 +0000 (21:00 -0500)
commit99583fe461267ecd84bab9f5092361697713f208
treecafc6ae4a780b2c395df1223488708e4bba74b76
parent446e85c5c0218195fd537a7fb77df9fd9b806ae4
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>
(cherry picked from commit 1161079e1f14c681e82e139e72291af35d6f9b98)

Signed-off-by: Chris Nighswonger <chris.nighswonger@gmail.com>
C4/Templates.pm