feat: add revalidate constant to control page revalidation interval

This commit is contained in:
ArraysID
2025-05-11 05:24:31 +07:00
parent fd35cb9525
commit ef042f2f40
+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();