diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md index 0031d45..be543e2 100644 --- a/.github/CONTRIBUTING.md +++ b/.github/CONTRIBUTING.md @@ -96,7 +96,7 @@ Also in `Settings → General → Pull Requests`: ### Release data freshness -`/download` is **prerendered**, not fetched in the browser. `components/DownloadButton.tsx` is a server component that resolves GitHub releases at render time via `lib/releases.ts`, then hands the data to `DownloadButtonClient.tsx` for the interactive bits. Visitors never call GitHub, so the page costs one upstream request per day instead of one per visitor — comfortably under GitHub's 60/hour unauthenticated limit. +`/download` is **prerendered**, not fetched in the browser. `components/DownloadPanel.tsx` is a server component that resolves GitHub releases at render time via `lib/releases.ts`, then hands the data to `DownloadButtonClient.tsx` for the interactive bits. Visitors never call GitHub, so the page costs one upstream request per day instead of one per visitor — comfortably under GitHub's 60/hour unauthenticated limit. Refresh is driven by the cron in `vercel.json`: diff --git a/app/download/page.tsx b/app/download/page.tsx index 821e415..757ebba 100644 --- a/app/download/page.tsx +++ b/app/download/page.tsx @@ -1,6 +1,6 @@ import type { Metadata } from "next"; import { Footer, Navbar } from "../../layout"; -import DownloadButton from "../../components/DownloadButton"; +import DownloadPanel from "../../components/DownloadPanel"; export const metadata: Metadata = { title: "Download VoxKit", @@ -26,7 +26,7 @@ export default function DownloadPage() { Get the latest version of VoxKit for your operating system

- +