Bug 143392

Summary: [WK2][Cocoa] Add a way to temporarily disable the WebKit Network Cache for testing
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: WebKit2Assignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: barraclough, commit-queue, koivisto
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Chris Dumez 2015-04-03 16:37:35 PDT
Add a way to temporarily disable the WebKit Network Cache for testing. It will be used temporarily for comparing page load times with and without the WebKit network disk cache enabled.

This is in addition to the existing "WebKitNetworkCacheEnabled" NSUserDefaults:
webkitNetworkCacheIsEnabled = [defaults boolForKey:WebKitNetworkCacheEnabledDefaultsKey] && ![defaults boolForKey:WebKitNetworkCacheTemporarilyDisabledForTestingKey];

Radar: <rdar://problem/20315669>
Comment 1 Chris Dumez 2015-04-03 16:42:57 PDT
Created attachment 250105 [details]
Patch
Comment 2 WebKit Commit Bot 2015-04-04 17:20:21 PDT
Comment on attachment 250105 [details]
Patch

Clearing flags on attachment: 250105

Committed r182348: <http://trac.webkit.org/changeset/182348>
Comment 3 WebKit Commit Bot 2015-04-04 17:20:26 PDT
All reviewed patches have been landed.  Closing bug.