Skip to content

Commit 6e7c00c

Browse files
Update known-issues.mdx
1 parent ed15a7b commit 6e7c00c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/content/docs/workers/platform/known-issues.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,3 +96,7 @@ Do not use:
9696
```js
9797
await fetch('http://192.0.2.1')
9898
```
99+
100+
## Fetch HEAD being converted to GET
101+
102+
By default a fetch() request will go through Cache. When a request goes through cache it converts any HEAD requests to GET. See: [Interaction of HEAD requests with Cache](/cache/concepts/cache-behavior/#interaction-of-head-requests-with-cache). You can stop this from happening by disabling caching for that fetch() request by setting Cache to [no-store](/workers/runtime-apis/fetch/#parameters).

0 commit comments

Comments
 (0)