[Koha-bugs] [Bug 8092] Koha should use CHI caching framework
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue May 15 20:56:35 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8092
Jared Camins-Esakov <jcamins at cpbibliography.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #9593|0 |1
is obsolete| |
--- Comment #3 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 9595
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=9595&action=edit
Bug 8092: Convert Koha::Cache to use CHI
Implements cache handlers for Memcached, mmap shared-file persistent,
and in-process memory caches. If CHI is unavailable, Koha::Cache::Memcached
will fall back to using Cache::Memcached::Fast, or caching will be skipped
without croaking.
To test: run t/Cache.t with the following options, before and after
installing CHI:
2. Tests 3-9 should be skipped with the following:
export CACHING_SYSTEM=
2. You should receive two failures with the following if CHI is not installed:
export CACHING_SYSTEM=memory
3. You should receive two failures with the following if CHI is not installed:
export CACHING_SYSTEM=fastmmap
4. You will need memcached activated for the following to work (but it
will work both with and without CHI):
export CACHING_SYSTEM=memcached
export MEMCACHED_SERVERS=127.0.0.1:11211
export MEMCACHED_NAMESPACE=KOHA
5. You should receive two failures with the following:
export CACHING_SYSTEM=thisdoesntexist
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list