[Koha-patches] [PATCH] Caching for authorised values

Galen Charlton galen.charlton at liblime.com
Wed Jun 17 19:19:44 CEST 2009


Hi Frédéric

2009/6/14 Frédéric Demians <f.demians at tamil.fr>:
> Even without mod_perl this caching improve performances
> on OPAC result page. XSLT.pm decoding authorised values
> for each record, it results something like about
> 7000 MySQL fetchrow...

This doesn't seem to work correctly - when I look at a
catalogue/moredetail.pl page for a bib that has more than one item,
the lost and damaged dropdowns for the first item are blank, but
populated for the second and subsequent items.  That likely indicates
that the result is being cached but not returned the first time
through for a given authorized value.

I think that we would be better off using the Memoize module or one of
its kin to implement this sort of caching.

Regards,

Galen
-- 
Galen Charlton
VP, Research & Development, LibLime
galen.charlton at liblime.com
p: 1-888-564-2457 x709
skype: gmcharlt



More information about the Koha-patches mailing list