Bug 143392 - [WK2][Cocoa] Add a way to temporarily disable the WebKit Network Cache for testing
Summary: [WK2][Cocoa] Add a way to temporarily disable the WebKit Network Cache for te...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2015-04-03 16:37 PDT by Chris Dumez
Modified: 2015-04-04 17:20 PDT (History)
3 users (show)

See Also:


Attachments
Patch (3.69 KB, patch)
2015-04-03 16:42 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.