From a89b2e1aa0fa2a6b95f0d8aa430c3d4e28dbcc8f Mon Sep 17 00:00:00 2001 From: John Pham Date: Mon, 30 Mar 2026 16:27:37 -0700 Subject: [PATCH] perf: add ISR to /prompts page (60s revalidation) This page has no auth() dependency and gets high traffic with 0% cache hit rate. ISR with 60s revalidation serves most requests from cache while keeping content fresh. --- src/app/prompts/page.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/prompts/page.tsx b/src/app/prompts/page.tsx index d2c29661..747a565d 100644 --- a/src/app/prompts/page.tsx +++ b/src/app/prompts/page.tsx @@ -16,6 +16,8 @@ import { isAISearchEnabled, semanticSearch } from "@/lib/ai/embeddings"; import { isAIGenerationEnabled } from "@/lib/ai/generation"; import config from "@/../prompts.config"; +export const revalidate = 60; + export const metadata: Metadata = { title: "Prompts", description: "Browse and discover AI prompts",