Problems with Open-Source Downloads read https://www.qt.io/blog/problem-with-open-source-downloads and https://forum.qt.io/post/638946
How to force QWebPage to store objects with no-cache in their response headers?
a.moallemi2 last edited by
QNetworkDiskCache* diskCache = new QNetworkDiskCache(this);
But the problem is that the first page of most of the websites come with "Cache-Control: must-revalidate" or "Pragma: no-cache" in their response headers. In these cases, QWebPage will not save the corresponding object in the cache directory. I was wondering if there is a way to bypass this and force the Qt to save all the objects in its cache regardless of those response header fields?