- From: Adam Rice <notifications@github.com>
- Date: Wed, 17 May 2023 00:57:27 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 17 May 2023 07:57:33 UTC
I believe the reason for continuing to read from the network even when JavaScript has stopped reading is to ensure that the HTTP cache is populated. Try adding a `Cache-Control: no-store` header to your response. This avoids writing to the HTTP cache, and so should enable reading the response to be paused. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/fetch/issues/1651#issuecomment-1550931433 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/fetch/issues/1651/1550931433@github.com>
Received on Wednesday, 17 May 2023 07:57:33 UTC