Chromium Code Reviews
DescriptionIntroduce chrome://flags/#network-prediction-options-for-service-worker
This CL introduces the following network predictor options for service worker controlled pages.
- PreconnectOnly (default): Execute the preconnection on navigations.
- StartServiceWorkerAndPreconnect: Start the service worker and execute the
preconnection in parallel on navigations.
- StartServiceWorkerAndDeferPreconnect: Start the service worker on
navigations, and defer the preconnection until the service worker startup.
- StartServiceWorkerOnly: Start the service worker on navigations and do not
execute the preconnection.
BUG=727544
Patch Set 1 #
Total comments: 2
Patch Set 2 : Not to trigger PreconnectUrlWithPredictor when AND_PRECONNECT and lookup fails #
Total comments: 12
Patch Set 3 : wip #Patch Set 4 : incorporated falken's comment #Patch Set 5 : use StartServiceWorkerForNavigationHint #
Messages
Total messages: 38 (31 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||