[Koha-bugs] [Bug 7248] Caching for services

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 6 20:44:00 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7248

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tomascohen at gmail.com

--- Comment #26 from Tomás Cohen Arazi <tomascohen at gmail.com> 2012-02-06 19:44:00 UTC ---
(In reply to comment #24)
> I have no objection to the setting being in koha-conf.xml, if you feel there is
> no way to specify cache settings in system preferences (I'd argue that LDAP
> should also be specified in system preferences, and that it's oversight that it
> still requires editing configuration files manually). koha-conf is a place for
> *Koha* configuration settings. The Apache config is not.

First, I just noticed this bug. I hope it is not late to step in.

I agree caching should be handled in a uniform and consistent way. The only
reason to put memcached server(s) settings inside the Apache config is to be
able to cache de koha-conf.xml file itself. This has been discussed on bug
6193. Otherwise, it can be put anywhere (koha-conf.xml or db).

There's also a second patch in bug 6193, that reuses those settings read from
ENV, and the C4::Context->memcached object itself (and thus removes lots of
calls to sysprefs in several koha libraries too).

Regarding the 'special-non-cached' syspref usecache, it could be tested before
setting the memcached stuff in C4::Context and thus provide a way to disable
caching for the librarians.

I sent an email to the list to discuss caching, as we have two different ways
of dealing with it right now, and not a proper solution to cache invalidation,
which actually annoys several librarians here (think of languages, changes on
frameworks, etc). I hope we can discuss it on the list soon.

-- 
Configure bugmail: http://bugs.koha-community.org/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the Koha-bugs mailing list