WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
207967
Resources larger than 10MB are not stored in the disk cache
https://bugs.webkit.org/show_bug.cgi?id=207967
Summary
Resources larger than 10MB are not stored in the disk cache
Chris Dumez
Reported
2020-02-19 15:01:07 PST
Resources larger than 10MB are not stored in the disk cache.
Attachments
Patch
(3.31 KB, patch)
2020-02-19 15:06 PST
,
Chris Dumez
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Chris Dumez
Comment 1
2020-02-19 15:01:21 PST
<
rdar://problem/59572084
>
Chris Dumez
Comment 2
2020-02-19 15:06:34 PST
Created
attachment 391206
[details]
Patch
WebKit Commit Bot
Comment 3
2020-02-19 22:07:46 PST
The commit-queue encountered the following flaky tests while processing
attachment 391206
[details]
: editing/spelling/spellcheck-async-remove-frame.html
bug 158401
(authors:
morrita@google.com
,
rniwa@webkit.org
, and
tony@chromium.org
) The commit-queue is continuing to process your patch.
WebKit Commit Bot
Comment 4
2020-02-19 22:08:16 PST
Comment on
attachment 391206
[details]
Patch Clearing flags on attachment: 391206 Committed
r257041
: <
https://trac.webkit.org/changeset/257041
>
WebKit Commit Bot
Comment 5
2020-02-19 22:08:18 PST
All reviewed patches have been landed. Closing bug.
Antti Koivisto
Comment 6
2020-02-20 12:27:36 PST
Comment on
attachment 391206
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=391206&action=review
> Source/WebKit/NetworkProcess/NetworkResourceLoader.cpp:588 > - // Prevent memory growth in case of streaming data. > - const size_t maximumCacheBufferSize = 10 * 1024 * 1024; > + // Prevent memory growth in case of streaming data and limit size of entries in the cache. > + const size_t maximumCacheBufferSize = m_cache->capacity() / 8;
If the capacity computes to less than the 80MB this will reduce the maximum size. Can that be a problem?
> Source/WebKit/Shared/CacheModel.cpp:188 > - urlCacheDiskCapacity = 500 * MB; > + urlCacheDiskCapacity = 1 * GB;
Maybe also increment DocumentBrowser cache model similarly?
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