當觸發單個 GET 請求時會發生什么,同時正在為同一資源發送 http2 推送?指定的行為是什么以及瀏覽器實際做什么?示例場景可能如下所示:at time 0: GET / (get document) and the server pushes /data.json
at time 1: GET /data.json (triggered by script, while the h2 push is still not finished / in-flight)這會導致兩次調用服務器嗎?這種行為是指定的還是特定于瀏覽器的,例如在 Chromium 中可能通過 HTTP 緩存:緩存實現單寫入器 - 多讀取器鎖定,以便在任何給定時間只有一個對同一資源的網絡請求在運行。 https://www.chromium.org/developers/design-documents/network-stack/http-cache
在同一資源的 http2 推送正在進行時觸發 GET 請求時會發生什么
RISEBY
2023-02-24 15:21:44