We currently validate expired cache resources speculatively based on historical data. Expand this to also trigger normal loads speculatively.
Created attachment 300257 [details] patch
Created attachment 300306 [details] patch
Comment on attachment 300306 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=300306&action=review r=me > Source/WebKit2/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.cpp:516 > + if (ageRatio > minimumAgeRatio) > + return true; Should probably be >=
Comment on attachment 300306 [details] patch Attachment 300306 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.webkit.org/results/2984584 New failing tests: http/tests/cache/disk-cache/speculative-validation/http-auth.html
Created attachment 300310 [details] Archive of layout-test-results from ews105 for mac-elcapitan-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews105 Port: mac-elcapitan-wk2 Platform: Mac OS X 10.11.6
Comment on attachment 300306 [details] patch Attachment 300306 [details] did not pass ios-sim-ews (ios-simulator-wk2): Output: http://webkit-queues.webkit.org/results/2984634 New failing tests: http/tests/cache/disk-cache/speculative-validation/http-auth.html
Created attachment 300312 [details] Archive of layout-test-results from ews121 for ios-simulator-wk2 The attached test failures were seen while running run-webkit-tests on the ios-sim-ews. Bot: ews121 Port: ios-simulator-wk2 Platform: Mac OS X 10.11.6
Created attachment 300320 [details] patch
Created attachment 300321 [details] patch
Committed r211480: <http://trac.webkit.org/changeset/211480>
<rdar://problem/30306159>