WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
213367
WKURLSchemeHandler does not fully implement the Http cache protocol
https://bugs.webkit.org/show_bug.cgi?id=213367
Summary
WKURLSchemeHandler does not fully implement the Http cache protocol
mali
Reported
2020-06-18 23:05:51 PDT
The current implementation of WKURLSchemeHandler only has the memory cache of http resources and no disk cache. Can the requests processed by WKURLSchemeHandler fully implement the entire Http cache protocol. WKURLSchemeHandler requires cross-process communication. If there is a disk cache, the kernel can avoid many unnecessary Cross-process data transfer to improve performance
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2020-06-19 17:24:11 PDT
<
rdar://problem/64550318
>
Alex Christensen
Comment 2
2020-06-19 18:59:05 PDT
The whole point of WKURLSchemeHandler is that it is not HTTP. If you want HTTP-like caching, you will have to implement it yourself. It wouldn't save any Cross-process data transfers if we did because WebKit uses the network process for the HTTP disk cache.
mali
Comment 3
2020-06-20 19:24:02 PDT
Sorry what I mean may not be in place. WKURLSchemeHandler is processed on the process of each WKWebView instance. When this process exits, the memory cache associated with it is destroyed. In other cases, WKWebView will create a Persistent network process for WKProcessPool, at this time these cache objects will not be destroyed as the WKWebView instance exits, is this more reasonable?
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug