The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
removed stale-while-revalidate (client cache)
Steven Tey1d0b43981904
diff --git a/pages/api/links/[key]/index.ts b/pages/api/links/[key]/index.tsindex 3499650863..e72b137b7f 100644--- a/pages/api/links/[key]/index.ts+++ b/pages/api/links/[key]/index.ts@@ -14,8 +14,7 @@ export default async function handler(req: NextRequest) {return NextResponse.redirect(target, {status: 308,headers: {- "cache-control":- "public, s-maxage=31536000, stale-while-revalidate=31536000",+ "cache-control": "public, s-maxage=31536000",}, // cache for 1 year only if there is a valid target for key});} else {