We currently do all speculative cache operations with 'Medium' priority and network operations with 'Low'. We should use the actual request priorities instead.
Created attachment 299530 [details] patch
Comment on attachment 299530 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=299530&action=review r=me > Source/WebKit2/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.cpp:492 > + spacing issue. > Source/WebKit2/NetworkProcess/cache/NetworkCacheSpeculativeLoadManager.cpp:536 > + m_storage.retrieve(subresourcesStorageKey, static_cast<unsigned>(WebCore::ResourceLoadPriority::High), [completionHandler = WTFMove(completionHandler)](auto record) { Why the extra WebCore:: ? The priority change might be risky as I used that value based on PLT results.
https://trac.webkit.org/r211049
<rdar://problem/30306336>