aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-01-08 20:46:56 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-01-08 11:12:14 +0100
commitb6bd6f442ac95376d78a14b3f503cb065781a5a5 (patch)
treeb33b7ff82c4079ceadca65fe6c2c5da0b0c62cb8 /src/browsertab.cpp
parent35756f7a1b49f8d7aa603dd3bbe3c0a2c2d234a6 (diff)
downloadkristall-b6bd6f442ac95376d78a14b3f503cb065781a5a5.tar.gz
Functional cache limit, albeit a little inefficient
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index 0568ee3..e870fe0 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -587,11 +587,6 @@ void BrowserTab::renderPage(const QByteArray &data, const MimeType &mime)
document->setHtml(page_html);
page_title = document->metaInformation(QTextDocument::DocumentTitle);
-
- // For now we don't cache HTML pages, because they will most
- // of the time clog up the cache.
- // TODO: preference for this? protocol-specific cache limits?
- will_cache = false;
}
else if (not plaintext_only and mime.is("text","x-kristall-theme"))
{