[Koha-bugs] [Bug 33447] Add caching to Biblio->pickup_locations

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Apr 14 14:01:11 CEST 2023


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

Nick Clemens <nick at bywatersolutions.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|Failed QA                   |Signed Off

--- Comment #6 from Nick Clemens <nick at bywatersolutions.com> ---
As I understood, the L1 and Memory Lite caches are flushed on each request:

/etc/koha/sites/kohadev/plack.psgi:
use CGI qw(-utf8 ); # we will loose -utf8 under plack, otherwise
{
    no warnings 'redefine';
    my $old_new = \&CGI::new;
    *CGI::new = sub {
        my $q = $old_new->( @_ );
        $CGI::PARAM_UTF8 = 1;
        Koha::Caches->flush_L1_caches();
        Koha::Cache::Memory::Lite->flush();
        return $q; 
    };  
}

Am I not understanding correctly?

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


More information about the Koha-bugs mailing list