For performance of several circulation pages we should cache the result of method Koha::CirculationRules::get_effective_rule.
Created attachment 109670 [details] [review] Bug 26393: Add cache on Koha::CirculationRules::get_effective_rule For performance of several circulation pages we should cache the result of method Koha::CirculationRules::get_effective_rule. Adds a constant CACHE_NO_CIRCULATION_RULE_VALUE to store a special value when method must return undef.
You may look at patch, test plan is comming
Created attachment 109827 [details] [review] Bug 26393: Add cache on Koha::CirculationRules::get_effective_rule For performance of several circulation pages we should cache the result of method Koha::CirculationRules::get_effective_rule. Adds a constant CACHE_NO_CIRCULATION_RULE_VALUE to store a special value when method must return undef.
Created attachment 109839 [details] [review] Bug 26393: Add cache on Koha::CirculationRules::get_effective_rule For performance of several circulation pages we should cache the result of method Koha::CirculationRules::get_effective_rule. Adds a constant CACHE_NO_CIRCULATION_RULE_VALUE to store a special value when method must return undef.
Created attachment 109840 [details] [review] Bug 26393: Add cache on Koha::CirculationRules::get_effective_rule For performance of several circulation pages we should cache the result of method Koha::CirculationRules::get_effective_rule.
Created attachment 109846 [details] [review] Bug 26393: Add cache on Koha::CirculationRules::get_effective_rule For performance of several circulation pages we should cache the result of method Koha::CirculationRules::get_effective_rule.
Arf my tests dont prove a performance difference. Foud Bug 26424 is a real performance improvement. I set to in discussion in case someone is interested.
*** This bug has been marked as a duplicate of bug 29623 ***