diff --git a/src/content/docs/workers/examples/cache-api.mdx b/src/content/docs/workers/examples/cache-api.mdx index 36b9ebdac4f..e64cb545434 100644 --- a/src/content/docs/workers/examples/cache-api.mdx +++ b/src/content/docs/workers/examples/cache-api.mdx @@ -47,7 +47,7 @@ export default { // Must use Response constructor to inherit all of response's fields response = new Response(response.body, response); - // Cache API respects Cache-Control headers. Setting s-max-age to 10 + // Cache API respects Cache-Control headers. Setting s-maxage to 10 // will limit the response to be in cache for 10 seconds max // Any changes made to the response here will be reflected in the cached value @@ -88,7 +88,7 @@ export default { // Must use Response constructor to inherit all of response's fields response = new Response(response.body, response); - // Cache API respects Cache-Control headers. Setting s-max-age to 10 + // Cache API respects Cache-Control headers. Setting s-maxage to 10 // will limit the response to be in cache for 10 seconds max // Any changes made to the response here will be reflected in the cached value