Skip to content

Commit 1556b3b

Browse files
committed
add force-cache to old data to help develop
1 parent 589d8b4 commit 1556b3b

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/app/conf/2023/_data.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ async function fetchData<T>(url: string): Promise<T> {
1111
"Content-Type": "application/json",
1212
"User-Agent": "GraphQL Conf / GraphQL Foundation",
1313
},
14+
cache: "force-cache",
1415
})
1516
const data = await response.json()
1617
return data

src/app/conf/2024/_data.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ async function fetchData<T>(url: string): Promise<T> {
1111
"Content-Type": "application/json",
1212
"User-Agent": "GraphQL Conf / GraphQL Foundation",
1313
},
14+
cache: "force-cache",
1415
})
1516
const data = await response.json()
1617
return data

0 commit comments

Comments
 (0)