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/examples/cache-post-request.mdx
+117Lines changed: 117 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,6 +17,12 @@ description: Cache POST requests using the Cache API.
17
17
18
18
import { TabItem, Tabs } from"~/components";
19
19
20
+
POST requests can be cached either via Cache API or [Workers KV](/kv/).
21
+
22
+
## Using Cache API
23
+
24
+
The Cache API allows for a simple API to cache POST requests. However, Cache API does not [support the use of Tiered Caching or Reserve Reserve](/workers/reference/how-the-cache-works/#cache-api). To increase Cache Hit Rates and offload origin load, consider using Workers KV instead (see below).
0 commit comments