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

Jacek Ablewicz <[email protected]> changed:

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

--- Comment #153 from Jacek Ablewicz <[email protected]> ---
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 <[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?
Signed-off-by: Tomas Cohen Arazi <[email protected]>

Signed-off-by: Jacek Ablewicz <[email protected]>
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.
_______________________________________________
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