@@ -, +, @@ --- Koha/App/Koha.pm | 7 +++++++ 1 file changed, 7 insertions(+) --- a/Koha/App/Koha.pm +++ a/Koha/App/Koha.pm @@ -4,6 +4,9 @@ use Modern::Perl; use Mojo::Base 'Mojolicious'; +use Koha::Caches; +use Koha::Cache::Memory::Lite; + sub startup { my ($self) = @_; @@ -51,6 +54,10 @@ sub _before_dispatch { } $c->req->url->parse($url); + + # Flush caches before every request + Koha::Caches->flush_L1_caches(); + Koha::Cache::Memory::Lite->flush(); } 1; --