Bug 235635
Summary: | Optimize CachedRawResource memory use in case of DataBufferingPolicy::DoNotBufferData | ||
---|---|---|---|
Product: | WebKit | Reporter: | youenn fablet <youennf> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | NEW | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
youenn fablet
We are currently storing the whole response in CachedResource::m_data, even if the policy is DataBufferingPolicy::DoNotBufferData.
CachedResource::m_data is set to nullptr in CachedRawResource::didFailLoading.
This begs the question whether we could try to keep m_data to nullptr throughout the load.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/88371942>