Skip to content

Commit

Permalink
feat: revalidate cachge after 5min
Browse files Browse the repository at this point in the history
  • Loading branch information
christophwitzko committed Oct 16, 2023
1 parent e9db1b9 commit 1309df2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
@@ -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));
Expand Down

0 comments on commit 1309df2

Please sign in to comment.