Skip to content

Commit

Permalink
fix(explorer): increase cache time
Browse files Browse the repository at this point in the history
  • Loading branch information
BrickheadJohnny committed Jul 24, 2024
1 parent 7226be8 commit dc06aab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/explorer/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ const Page = async ({ searchParams }: { searchParams: SearchParams }) => {
const [ssrFeaturedGuilds, ssrNewestGuilds] = await Promise.all([
fetch(`${env.NEXT_PUBLIC_API.replace("/v1", "")}${featuredPath}`, {
next: {
revalidate: 300,
revalidate: 600,
},
})
.then((res) => res.json())
.catch((_) => []),
fetch(`${env.NEXT_PUBLIC_API.replace("/v1", "")}${newestPath}`, {
next: {
revalidate: 300,
revalidate: 600,
},
})
.then((res) => res.json())
Expand Down

0 comments on commit dc06aab

Please sign in to comment.