diff options
| author | Mike Skec <skec@protonmail.ch> | 2021-01-08 15:34:54 +1100 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-01-08 11:12:14 +0100 |
| commit | 35756f7a1b49f8d7aa603dd3bbe3c0a2c2d234a6 (patch) | |
| tree | c9a8fd3bc483623cd1fa294ee8eb866dd189b93c /src/browsertab.cpp | |
| parent | 443da5e34a3b858a2a32c6ca6846e351fa11f389 (diff) | |
| download | kristall-35756f7a1b49f8d7aa603dd3bbe3c0a2c2d234a6.tar.gz | |
cache: item expiry and max item size
currently no total limit yet
Diffstat (limited to 'src/browsertab.cpp')
| -rw-r--r-- | src/browsertab.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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"; |
