From 8074161fb730cf6fd7ada9089cc532e8bd8a92a8 Mon Sep 17 00:00:00 2001 From: Anthony Ettinger Date: Sat, 10 Oct 2026 10:05:49 +0000 Subject: [PATCH] fix(footer): revalidate static pages hourly so the shared footer updates The homepage and other prerendered pages were baked at build (s-maxage=31536000), so a @profullstack/footer release would only show after a redeploy. ISR every hour instead. Co-Authored-By: Claude Opus 5.5 --- apps/web/src/app/layout.tsx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index c02c53d..2b7622c 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -9,6 +9,12 @@ const SITE = "https://c0mpute.com"; const DESCRIPTION = "The open compute network. Run jobs anywhere, sell unused compute, pay only for verified work. CPUs, GPUs, storage and bandwidth from PCs to data centers, through one open protocol — for humans and AI agents."; +// Static pages re-render hourly so the footer (@profullstack/footer, which fetches the +// package's @latest template) picks up a footer release without a redeploy. Without +// this the prerendered pages are baked at build (s-maxage=31536000) and only a +// redeploy would change the footer. +export const revalidate = 3600; + export const metadata: Metadata = { title: "c0mpute — the open compute network", description: DESCRIPTION,