Skip to content

Commit

Permalink
fix: disable github caching
Browse files Browse the repository at this point in the history
  • Loading branch information
Jabolol committed Dec 14, 2023
1 parent 1da7e71 commit 9a61c09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ export function report(
const start = performance.now();
try {
const headers = new Headers(resp.headers);
headers.set("ga4", "success");
headers.set("cache-control", "max-age=0, no-cache, no-store, must-revalidate");
res = new Response(resp.body, { status: resp.status, headers });
return res;
} catch (e) {
Expand Down

0 comments on commit 9a61c09

Please sign in to comment.