projects
/
PrivacyBrowserPC.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f7ac15
)
Disable HTTP cache. https://redmine.stoutner.com/issues/1266
author
Soren Stoutner
<soren@stoutner.com>
Wed, 29 Jan 2025 23:01:25 +0000
(16:01 -0700)
committer
Soren Stoutner
<soren@stoutner.com>
Wed, 29 Jan 2025 23:01:25 +0000
(16:01 -0700)
src/widgets/PrivacyWebEngineView.cpp
patch
|
blob
|
history
diff --git
a/src/widgets/PrivacyWebEngineView.cpp
b/src/widgets/PrivacyWebEngineView.cpp
index 27cb2abafef50c9693c3514f38f83c4c35ec3b84..5a103ff809089fc0f7730b8164db1b42183e13b2 100644
(file)
--- a/
src/widgets/PrivacyWebEngineView.cpp
+++ b/
src/widgets/PrivacyWebEngineView.cpp
@@
-40,6
+40,9
@@
PrivacyWebEngineView::PrivacyWebEngineView(QWidget *parentWidgetPointer) : QWebE
// Create an off-the-record profile (the default when no profile name is specified).
webEngineProfilePointer = new QWebEngineProfile(QLatin1String(""));
+ // Disable the HTTP cache.
+ webEngineProfilePointer->setHttpCacheType(QWebEngineProfile::NoCache);
+
// Create a WebEngine page.
PrivacyWebEnginePage *privacyWebEnginePagePointer = new PrivacyWebEnginePage(webEngineProfilePointer);