From 35756f7a1b49f8d7aa603dd3bbe3c0a2c2d234a6 Mon Sep 17 00:00:00 2001 From: Mike Skec Date: Fri, 8 Jan 2021 15:34:54 +1100 Subject: cache: item expiry and max item size currently no total limit yet --- src/browsertab.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/browsertab.cpp') diff --git a/src/browsertab.cpp b/src/browsertab.cpp index 873165f..0568ee3 100644 --- a/src/browsertab.cpp +++ b/src/browsertab.cpp @@ -1471,6 +1471,7 @@ bool BrowserTab::startRequest(const QUrl &url, ProtocolHandler::RequestOptions o } // Check if we have the page in our cache. + kristall::cache.clean(); if (auto pg = kristall::cache.find(url); pg != nullptr) { qDebug() << "Reading page from cache"; -- cgit v1.2.3