Skip to content

Commit 462b494

Browse files
committed
reinstate week long cache control
1 parent afb59d9 commit 462b494

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/hearing/[hearingId].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export default createPage<{ hearingId: number }>({
1919
export const getServerSideProps: GetServerSideProps = async ctx => {
2020
ctx.res.setHeader(
2121
"Cache-Control",
22-
"public, s-maxage=10, stale-while-revalidate=10."
22+
"public, s-maxage=604800, stale-while-revalidate=604800"
2323
)
2424

2525
const locale = ctx.locale ?? ctx.defaultLocale ?? "en"

0 commit comments

Comments
 (0)