[Koha-bugs] [Bug 28436] New: Cache relatively static info that is used often and on many pages (instead of fetching from DB)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon May 24 14:52:40 CEST 2021


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

            Bug ID: 28436
           Summary: Cache relatively static info that is used often and on
                    many pages (instead of fetching from DB)
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: koha-bugs at lists.koha-community.org
          Reporter: joonas.kylmala at helsinki.fi
        QA Contact: testopia at bugs.koha-community.org

We should try to cache (Koha::Cache) some of the most common info that is used
on many of our OPAC and intranet pages in order to prevent making very slow SQL
queries. E.g. I can cut the load time of biblio detail.pl page by several
seconds by just storing the Koha::Template::Plugin::Branches::GetName results
in cache/RAM (when the bib has around 1000 items).

Similar caching should be done for Koha::Template::Plugin::Categories::GetName,
and so on.

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


More information about the Koha-bugs mailing list