Skip to content

Commit 0ba52e0

Browse files
committed
uped cache control values
1 parent 2e7d481 commit 0ba52e0

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

components/hearing/HearingSidebar.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,8 @@ export const HearingSidebar = ({
9696
setHouseChairName(houseName)
9797
setSenateChairName(senateName)
9898
setMembers(memberData)
99+
100+
console.log(docData)
99101
}, [committeeCode, generalCourtNumber])
100102

101103
useEffect(() => {

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=59"
22+
"public, s-maxage=604800, stale-while-revalidate=604800"
2323
)
2424

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

0 commit comments

Comments
 (0)