ref: Change partners page revalidation to 30 minutes (#21080)

This commit is contained in:
Kamil Ogórek authored and GitHub committed 2024-02-07 11:21:38 +00:00
1 parent 53c5500be4
commit 09bd8d0c8f
4 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -250,7 +250,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
return {
props: { partner, overview },
revalidate: 1800, // 5 hours
revalidate: 1800, // 30 minutes
}
}
+1 -1
View File
@@ -20,7 +20,7 @@ export async function getStaticProps() {
props: {
partners,
},
revalidate: 18000, // In seconds - refresh every 5 hours
revalidate: 1800, // 30 minutes
}
}
@@ -335,7 +335,7 @@ export const getStaticProps: GetStaticProps = async ({ params }) => {
return {
props: { partner, overview },
revalidate: 1800, // 5 hours
revalidate: 1800, // 30 minutes
}
}
@@ -25,7 +25,7 @@ export async function getStaticProps() {
partners,
},
// TODO: consider using Next.js' On-demand Revalidation with Supabase Database Webhooks instead
revalidate: 18000, // In seconds - refresh every 5 hours
revalidate: 1800, // 30 minutes
}
}