[Koha-bugs] [Bug 16579] Use separate memcached namespace for caching koha-conf.xml

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 23 13:39:51 CEST 2016


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

--- Comment #13 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Jacek Ablewicz from comment #12)
> (In reply to Jonathan Druart from comment #11)
> 
> > c) move the memcached config to a syspref and do not fetch this pref from
> > the cache (like we do for OVERRIDE_SYSPREF_*)
> 
> You mean, to fetch memcached setup directly from the database? But to do it
> you'll need to parse koha config file first, to obtain database connection
> config.
> 
> > It will 1/ avoid to parse the koha conf file
> 
> I don't see how this step can be avoided in such scenario (?).

No of course we will have to parse it :)
I meant we will just need to parse it once.
Once parsed, we could cache it and avoid to parse it for each request.
But actually it does not make sense to move it to syspref, there is no
additional advantage compared to koha-conf (it's even worst, we need the dbh).

I have worked on a proposal, patches are coming

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


More information about the Koha-bugs mailing list