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

Josef Moravec <[email protected]> changed:

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

--- Comment #101 from Josef Moravec <[email protected]> ---
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 <[email protected]>

Signed-off-by: Josef Moravec <[email protected]>
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to