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
Reported 2022-01-26 02:51:33 PST
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
Radar WebKit Bug Importer
Comment 1 2022-02-02 02:52:16 PST
Note You need to log in before you can comment on or make changes to this bug.