“CAUTION: provisional headers are shown” in Chrome debugger

前端 未结 30 3355
滥情空心
滥情空心 2020-11-22 11:52

I noticed a strange caution message when looking at downloaded resources using Google chrome inspector (F12):

Caution provisional headers a

30条回答
  •  情深已故
    2020-11-22 12:19

    For chrome v72+ what solved it for me was only this:

    go to chrome://flags/ and disable this 3 flags

    • Disable site isolation
    • Enable network service
    • Runs network service in-process

    or you can do it from command line :

    chrome --disable-site-isolation-trials --disable-features=NetworkService,NetworkServiceInProcess
    

    why this happen?

    It seems that Google is refactoring their Chromium engine into modular structure, where different services will be separated into stand-alone modules and processes. They call this process servicification. Network service is the first step, Ui service, Identity service and Device service are coming up. Google provides the official information at the Chromium project site.

    is it dangerous to change that?

    An example is networking: once we have a network service we can choose to run it out of process for better stability/security, or in-process if we're resource constrained. source

提交回复
热议问题