Koha/misc
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
..
admin Bug 11998: Use Koha::Cache to cache sysprefs 2016-03-15 07:08:28 +00:00
bin Revert Bug 11081 - Port Koha::Contrib::Tamil indexer into Koha code base 2016-03-01 16:56:35 +00:00
cronjobs Bug 16031: (followup) Fix documentation 2016-03-11 15:28:50 +00:00
devel Bug 14383: misc: Fix some typos in comments and documentation 2015-06-22 17:34:45 -03:00
interface_customization
load_testing Bug 14383: misc: Fix some typos in comments and documentation 2015-06-22 17:34:45 -03:00
maintenance Bug 14870: (followup) Remove superfluous C4::Dates from fix_accountlines_rmdupfines_bug8253.pl 2015-11-19 13:05:06 -03:00
migration_tools Bug 15188: Do not remove unused auths if zebra is not reachable 2016-01-27 01:03:06 +00:00
plack Bug 14870: Remove C4::Dates from plack.psgi and koha.psgi 2015-11-19 13:05:06 -03:00
release_notes Release notes for 3.22 2015-11-26 11:51:24 -03:00
translator Bug 15687 [QA Followup] - Tidy sub to remove tab characters 2016-02-03 23:01:07 +00:00
batchCompareMARCvsFrameworks.pl
batchdeletebiblios.pl
batchDeleteUnusedSubfields.pl
batchImportMARCWithBiblionumbers.pl
batchRebuildBiblioTables.pl Bug 9819 - 'stopwords'-related code removed 2015-12-30 15:49:35 +00:00
batchRebuildItemsTables.pl Bug 14858: removed record length limit test 2015-10-06 10:28:29 -03:00
batchRepairMissingBiblionumbers.pl
batchupdateISBNs.pl
check_sysprefs.pl
commit_file.pl
export_borrowers.pl Bug 9892: [QA Follow-up] Typo and updated usage 2015-05-19 09:23:18 -03:00
export_records.pl Bug 15923: Fix --id_list_file option for misc/export_records.pl 2016-03-02 00:43:11 +00:00
exportauth.pl
koha-install-log
kohalib.pl
link_bibs_to_authorities.pl
mod_zebraqueue.pl
perlmodule_ls.pl
perlmodule_rm.pl
recreateIssueStatistics.pl
sax_parser_print.pl
sax_parser_test.pl
sip_cli_emulator.pl
stage_file.pl Bug 12289: (follow-up) fix the compilation error 2015-12-30 21:11:16 +00:00