Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/content/docs/workers/examples/cache-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down