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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 4 09:30:47 CET 2016


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

Josef Moravec <josef.moravec at gmail.com> changed:

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

--- Comment #101 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 48655
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48655&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?

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


More information about the Koha-bugs mailing list