WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
305790
Initialize CacheModel based on whether app is a web browser
https://bugs.webkit.org/show_bug.cgi?id=305790
Summary
Initialize CacheModel based on whether app is a web browser
Ben Nham
Reported
2026-01-19 13:42:15 PST
CacheModel is currently initialized to PrimaryWebBrowser by default. This means that we end up doing things like enabling the web process cache for trivial use cases in iOS apps that just use a WKWebView to display a small element. To fix this, initialize CacheModel to DocumentBrowser by default, and only set it to PrimaryWebBrowser if the UIProcess is actually a browser.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2026-01-19 13:42:24 PST
<
rdar://problem/168463192
>
Ben Nham
Comment 2
2026-01-19 13:43:51 PST
Pull request:
https://github.com/WebKit/WebKit/pull/56853
EWS
Comment 3
2026-01-22 13:26:55 PST
Committed
306035@main
(8539dbad5719): <
https://commits.webkit.org/306035@main
> Reviewed commits have been landed. Closing PR #56853 and removing active labels.
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