[Koha-bugs] [Bug 11998] Syspref caching issues

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Mar 14 16:21:42 CET 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11998

Jacek Ablewicz <ablewicz at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #49022|0                           |1
        is obsolete|                            |

--- Comment #153 from Jacek Ablewicz <ablewicz at gmail.com> ---
Created attachment 49100
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49100&action=edit
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 at catalyst.net.nz>

Signed-off-by: Josef Moravec <josef.moravec at 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 at unc.edu.ar>

Signed-off-by: Jacek Ablewicz <abl at 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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list