Skip to content

Commit 8bcb8ed

Browse files
author
Renji
authored
fix(feed): drop force-dynamic so the hourly revalidate actually applies (#71)
force-dynamic and revalidate contradicted each other, forcing feed.xml to regenerate from Supabase on every request instead of caching hourly as intended.
1 parent 37d19dc commit 8bcb8ed

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

app/feed.xml/route.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { createSupabaseAdminClient } from "@/lib/supabase/admin";
22
import { getSiteUrl } from "@/lib/utils/urls";
33

4-
export const dynamic = "force-dynamic";
54
export const revalidate = 3600;
65

76
export async function GET() {

0 commit comments

Comments
 (0)