Skip to content

Commit

Permalink
fix: cache revalidation time of 60s
Browse files Browse the repository at this point in the history
  • Loading branch information
samderanova committed Oct 5, 2023
1 parent 6942eaf commit 4465126
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/site/src/views/Home/sections/FAQ/getQuestions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ const Questions = z.array(
})
);

export const revalidate = 60;

export const getQuestions = cache(async () => {
return Questions.parse(
await client.fetch(
Expand Down

0 comments on commit 4465126

Please sign in to comment.