Bug 7533: Add the template_cache_dir entry to koha-conf.xml
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 28 Dec 2016 13:49:59 +0000 (13:49 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 20 Jan 2017 14:13:52 +0000 (14:13 +0000)
And comment it, as we don't know what are the sysop's preferences

Signed-off-by: Magnus Enger <magnus@libriotech.no>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

debian/templates/koha-conf-site.xml.in
etc/koha-conf.xml

index 7f13c64..47cce8d 100644 (file)
@@ -291,6 +291,10 @@ __END_SRU_PUBLICSERVER__
  <!-- <zebra_loglevels>none,fatal,warn</zebra_loglevels> -->
  <memcached_servers>__MEMCACHED_SERVERS__</memcached_servers>
  <memcached_namespace>__MEMCACHED_NAMESPACE__</memcached_namespace>
+ <!-- Uncomment the following line if you want to use template caching
+      That will bring a performance boost
+      <template_cache_dir>/tmp</template_cache_dir>
+ -->
 
  <!-- Secret passphrase used by Mojolicious for signed cookies -->
  <api_secret_passphrase>__API_SECRET__</api_secret_passphrase>
index 2c188f8..650b0f8 100644 (file)
@@ -118,6 +118,10 @@ __PAZPAR2_TOGGLE_XML_POST__
  <log4perl_conf>__KOHA_CONF_DIR__/log4perl.conf</log4perl_conf>
  <memcached_servers>__MEMCACHED_SERVERS__</memcached_servers>
  <memcached_namespace>__MEMCACHED_NAMESPACE__</memcached_namespace>
+ <!-- Uncomment the following line if you want to use template caching
+      That will bring a performance boost
+      <template_cache_dir>/tmp</template_cache_dir>
+ -->
 
  <!-- Secret passphrase used by Mojolicious for signed cookies -->
  <api_secret_passphrase>CHANGEME</api_secret_passphrase>