[Koha-bugs] [Bug 21101] Allow to disable XSLT cache
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 23 14:10:26 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21101
--- Comment #2 from Fridolin SOMERS <fridolin.somers at biblibre.com> ---
Created attachment 77181
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=77181&action=edit
Bug 21101: Allow to disable XSLT cache
Koha::XSLT_Handler has a cache.
When Plack is used, the XSLT display have a cache that can last several
minutes.
This is good for performance but bad for XSLT files edition.
I propose a syspref to enable/disable this cache, enabled by default.
Test plan :
1) Enable Plack
2) Check syspref XSLTCache is enabled
3) Define an XSLT file path in some XSLT display, ie OPACXSLTResultsDisplay
4) Perform a search and look at results
5) Edit XSLT file to add some text, for example next to title
6) Perform a search and look at results => The change is not there, you can try
several refresh
7) Undo action 5)
2) Set syspref XSLTCache disabled
8) Perform a search and look at results => you see original display
9) Repeat action 5)
10) Perform a search and look at results => you see the change, you can try
several refreshs
--
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
More information about the Koha-bugs
mailing list