Skip to content

Commit

Permalink
cache for longer time
Browse files Browse the repository at this point in the history
  • Loading branch information
d-ivashchuk committed Apr 12, 2024
1 parent 8771d2a commit 7aaf81c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/(landing)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,13 @@ export default async function Home() {
const stargazersQuery = await fetch(
`https://api.github.com/repos/d-ivashchuk/cascade`,
{
next: { revalidate: 60 },
next: { revalidate: 60 * 60 },
},
);
const lastCommitQuery = await fetch(
`https://api.github.com/repos/d-ivashchuk/cascade/commits`,
{
next: { revalidate: 60 },
next: { revalidate: 60 * 60 },
},
);

Expand Down

0 comments on commit 7aaf81c

Please sign in to comment.