feat: add revalidate constant to control page revalidation interval

This commit is contained in:
ArraysID
2025-05-10 04:29:28 +07:00
parent 39a57b4fed
commit 7fd5528c0d
+2
View File
@@ -9,6 +9,8 @@ import { Hero } from './_components/hero';
import { LearningResources } from './_components/learning-resources';
import { Testimonials } from './_components/testimonials';
export const revalidate = 60 * 5; // Seconds
export default async function Page() {
const heroData = await getGlobalsHeroSection();
const featuresData = await getGlobalsFeaturesSection();