Skip to content

Commit 5548285

Browse files
committed
reduced cache control
1 parent 9d1ee2f commit 5548285

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

components/hearing/HearingSidebar.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ export const HearingSidebar = ({
101101
setSenateChairName(senateName)
102102
setMembers(memberData)
103103

104-
console.log(docData)
104+
console.log("data: ", docData)
105105
}, [committeeCode, generalCourtNumber])
106106

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

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

0 commit comments

Comments
 (0)