Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.12.6
-
None
Description
We use Nginx server to download our files from. It supports all those cache control headers (etag, last-modified, if-modified-since, etc.)
We use QNetworkDiskCache.
For QNetworkRequest, we use this (just to make sure):
request.setAttribute(QNetworkRequest::CacheLoadControlAttribute, QNetworkRequest::PreferNetwork);
Steps to reproduce bug:
- Download some resource. It will be cached.
- Change resource on server.
- Try to download it again. Bug: Qt does not even try to make any request to server to check if the resource is modified or not. It just uses cache as if PreferCache was specified.
Attachments
Issue Links
- is blocked by
-
QTBUG-102803 Review QNetworkRequest::CacheLoadControl
- Reported
Gerrit Reviews
For Gerrit Dashboard: QTBUG-81318 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
296092,5 | QNAM: Update handling of PreferNetwork to match documentation | dev | qt/qtbase | Status: ABANDONED | +2 | 0 |