Skip to content

Commit

Permalink
cache-control
Browse files Browse the repository at this point in the history
  • Loading branch information
ciscorn committed Nov 29, 2024
1 parent 2d8f913 commit 5b1829c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/routes/+layout.server.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// export async function load({ setHeaders }) {
// setHeaders({ 'Cache-Control': 'max-age=7200, stale-while-revalidate=3600' });
// }
export async function load({ setHeaders }) {
setHeaders({ 'Cache-Control': 'max-age=300, stale-while-revalidate=300' });
}

0 comments on commit 5b1829c

Please sign in to comment.