[PyQt] Different QWebView objects gives identical output for same urls
bazwal at ftml.net
Wed Feb 11 19:41:16 GMT 2015
On 11/02/15 14:04, Герасимов Михаил wrote:
> I found that if we load one url with different QWebView objects
> parallely, we will have identical output: only one of this QWebView will
> make real request. Here is example:
> It was surprising. How can we get "fair", unique output for each
> QWebView object, If url is the same?
# disable caching
QWebSettings.globalSettings().setObjectCacheCapacities(0, 0, 0)
# load pages...
# re-enable caching
QWebSettings.globalSettings().setObjectCacheCapacities(0, 0, 1)
More information about the PyQt