Koha/svc
Jonathan Druart 9820f9dfbd Bug 11998: Use Koha::Cache to cache sysprefs
At the moment, the sysprefs are only cache in the thread memory
executing the processus
When using Plack, that means we need to clear the syspref cache on each
page.
To avoid that, we can use Koha::Cache to cache the sysprefs correctly.

A big part of the authorship of this patch goes to Robin Sheat.

Test plan:
1/ Add/Update/Delete local use prefs
2/ Update pref values and confirm that the changes are correctly taken
into account

Signed-off-by: Chris <chrisc@catalyst.net.nz>

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Tested with plack with syspref cache enabled, there is some time between setting the syspref and applying it, but it takes just one reload of page, it shouldn't be problem, should it?
Signed-off-by: Tomas Cohen Arazi <tomascohen@unc.edu.ar>

Signed-off-by: Jacek Ablewicz <abl@biblos.pk.edu.pl>
Tested with CGI and CGI + memcache; some small issues still remain,
but it would be better to deal with them in separate bug reports
if necessary

Signed-off-by: Brendan Gallagher brendan@bywatersolutions.com
2016-03-15 07:08:28 +00:00
..
cataloguing Bug 11559: Rancor: advanced cataloging interface 2015-10-27 12:17:39 -03:00
config Bug 11998: Use Koha::Cache to cache sysprefs 2016-03-15 07:08:28 +00:00
hold Bug 14310 [QA Followup] - Use output_with_http_headers, return 403s 2016-01-27 06:20:19 +00:00
members
records Bug 15380: Move Koha::Authority to Koha::MetadataRecord::Authority 2015-12-31 18:50:41 +00:00
virtualshelves Bug 14528: Inconsistency in permissions check when listing shelves 2015-10-05 12:26:19 -03:00
authentication
barcode
bib Bug 11559: Supporting changes for Rancor 2015-10-27 12:16:05 -03:00
bib_profile
checkin
checkouts Bug 15289 - borrowers permission allows to see patron's loans 2015-12-30 02:51:50 +00:00
cover_images
holds Bug 14846 - Items with no holdingbranch causes svc/holds to crash 2015-12-11 16:20:39 +00:00
import_bib
letters
localization Bug 15477: (follow-up) Bug 14100: Better errors handling 2016-01-12 16:13:41 +00:00
new_bib Bug 11559: (QA followup) fix several small issues 2015-10-27 12:25:01 -03:00
renew Bug 11298: Don't force the renew time to 23:59 2015-10-19 11:51:28 -03:00
report