[Koha-bugs] [Bug 26587] Cache libraries in Branches TT plugin to improve performance

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Dec 15 22:37:44 CET 2021


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

--- Comment #26 from Fridolin Somers <fridolin.somers at biblibre.com> ---
(In reply to Jonathan Druart from comment #21)
> Created attachment 128446 [details] [review]
> Bug 26587: Use Koha::Cache::Memory::Lite

Great.

But in my opinion cache key is too short :
  my $cache_key    = "Library_branchname:" . $branchcode;
We may have need for library datas cache in other places.

I propose :
  my $cache_key    = "Template_Plugin_Branches_branchname:" . $branchcode;

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


More information about the Koha-bugs mailing list