From 1309df2f4bb27f299de91fff29253985fe3e8519 Mon Sep 17 00:00:00 2001 From: Christoph Witzko Date: Mon, 16 Oct 2023 15:46:41 +0200 Subject: [PATCH] feat: revalidate cachge after 5min --- app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/page.tsx b/app/page.tsx index 8188b0e..e21db09 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,7 +1,7 @@ -"use server"; import { PluginOverview } from "@/app/client"; import { getAllPlugins } from "@/lib/registry"; +export const revalidate = 300; export default async function Home() { const plugins = await getAllPlugins(); plugins.sort((a, b) => a.FullName.localeCompare(b.FullName));