Skip to content

Commit 0971868

Browse files
committed
feat: set Cache-Control and Pragma headers
1 parent 526b4b7 commit 0971868

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/rendezvous.ts

+2
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,7 @@ export class Rendezvous {
6969
res.setHeader("ETag", this.etag);
7070
res.setHeader("Expires", this.expiresAt.toUTCString());
7171
res.setHeader("Last-Modified", this.lastModified.toUTCString());
72+
res.setHeader("Cache-Control", "no-store");
73+
res.setHeader("Pragma", "no-cache");
7274
}
7375
}

0 commit comments

Comments
 (0)