use in-memory cache for webengine
no need to persist things to disk, as we have a local copy in most cases anyway
This commit is contained in:
parent
f104044a09
commit
a172af11a1
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user