Details
Description
Using the following QML, the cache is still activated and not cleared:
```
import QtQuick 2.2
import QtQuick.Window 2.2
import QtWebEngine 1.5
WebEngineView {
id: webview
visible: true
url: context.getUrl()
width: Window.width
height: Window.height
profile.httpCacheType: WebEngineProfile.NoCache
onLoadingChanged: {
if (loadRequest.errorString)
}
Connections {
target: context
onUrlChanged:
}
}
```
Visiting: http://refreshyourcache.com/en/cache-test/
the image stays red.
The site works properly on Chromium when "disable cache" is enabled.
Attachments
For Gerrit Dashboard: QTBUG-63606 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
212925,3 | Use BrowsingDataRemover to clear HTTP cache | 5.10 | qt/qtwebengine | Status: MERGED | +2 | 0 |
219418,3 | Clear HTTP cache before disabling it | 5.11 | qt/qtwebengine | Status: MERGED | +2 | 0 |