Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
0xSalik authored Feb 23, 2024
1 parent f7e4465 commit d6ac84c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ async fetch(request, env, context) {
}
object.writeHttpMetadata(headers);
headers.set("etag", object.httpEtag);
headers.append("Cache-Control", "s-maxage=31536000");
headers.append("Cache-Control", "s-maxage=86400");
response = new Response(object.body, {
headers,
});
Expand Down

0 comments on commit d6ac84c

Please sign in to comment.