diff --git a/aqt/webview.py b/aqt/webview.py index f240350cd..bd5b8b660 100644 --- a/aqt/webview.py +++ b/aqt/webview.py @@ -74,6 +74,8 @@ class AnkiWebView(QWebEngineView): self._loadFinishedCB = None self.setPage(self._page) + + self._page.profile().setHttpCacheType(QWebEngineProfile.MemoryHttpCache) self.resetHandlers() self.allowDrops = False self.setCanFocus(canFocus)