File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/content/docs/workers/examples Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export default {
4747 // Must use Response constructor to inherit all of response's fields
4848 response = new Response (response .body , response);
4949
50- // Cache API respects Cache-Control headers. Setting s-max-age to 10
50+ // Cache API respects Cache-Control headers. Setting s-maxage to 10
5151 // will limit the response to be in cache for 10 seconds max
5252
5353 // Any changes made to the response here will be reflected in the cached value
@@ -88,7 +88,7 @@ export default {
8888 // Must use Response constructor to inherit all of response's fields
8989 response = new Response (response .body , response );
9090
91- // Cache API respects Cache-Control headers. Setting s-max-age to 10
91+ // Cache API respects Cache-Control headers. Setting s-maxage to 10
9292 // will limit the response to be in cache for 10 seconds max
9393
9494 // Any changes made to the response here will be reflected in the cached value
You can’t perform that action at this time.
0 commit comments