“CAUTION: provisional headers are shown” in Chrome debugger

前端 未结 30 3523
滥情空心
滥情空心 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:16

    HTTP/2 Pushed resources will produce Provisional headers are shown in the inspector for the same theory as @wvega posted in his answer above.

    e.g: Since the server pushed the resource(s) to the client (before the client requested them), the browser has the resources cached and therefore the client never makes/needs a requests; So because...

    ...the real headers are updated when the server responds, but there is no response if the request was blocked.

提交回复
热议问题