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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 10 11:11:05 CET 2016


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #48655|0                           |1
        is obsolete|                            |
  Attachment #48687|0                           |1
        is obsolete|                            |
  Attachment #48688|0                           |1
        is obsolete|                            |
  Attachment #48727|0                           |1
        is obsolete|                            |

--- Comment #130 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 48928
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=48928&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