You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/content/docs/workers/platform/known-issues.mdx
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -96,3 +96,7 @@ Do not use:
96
96
```js
97
97
awaitfetch('http://192.0.2.1')
98
98
```
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