[Koha-bugs] [Bug 15562] Make Koha more suitable for shared hosting with plack

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 31 02:51:47 CEST 2016


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

Srdjan Jankovic <srdjan at catalyst.net.nz> changed:

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

--- Comment #27 from Srdjan Jankovic <srdjan at catalyst.net.nz> ---
Created attachment 49709
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=49709&action=edit
bug_15562: Removed Koha::Cache->get_instance()

There should be no cache singleton, full stop. If Koha is to move away
from .pl scripts that is.
As an interim measure Koha::Cache->get_instance() is replaced with
C4::Context->cache, in the vein of C4::Context->memcached. In that
respect it will continue to work in the singleton-ish way if context is
used as a singleton, but supports cache-per-context.

Koha::Handler::Plack->app_per_host() cache sysprefs using Context memcached.

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


More information about the Koha-bugs mailing list