From 51e26874c7074d7f21ca5c1c00b61e29d77ab0f3 Mon Sep 17 00:00:00 2001 From: Florent Tapponnier Date: Fri, 24 Jul 2026 16:07:38 +0200 Subject: [PATCH] hotfix: bump rpc-hub-cohort cache v4->v5 (bust sticky-null on chain RPC section) --- src/lib/rpc-hub-stats.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/lib/rpc-hub-stats.ts b/src/lib/rpc-hub-stats.ts index 8575e3ce..b8895820 100644 --- a/src/lib/rpc-hub-stats.ts +++ b/src/lib/rpc-hub-stats.ts @@ -441,7 +441,11 @@ const fetchRpcHubCached = unstable_cache( // v3: pivot rows gained medianSuccessPct/errors24h + per-chain // successPct/sampleSize; chains gained unresponsive[] rows. // v2: chains gained unresponsiveCount (unresponsive provider rows). - ["rpc-hub-cohort-v4", process.env.VERCEL_ENV === "production" ? "prod" : "all"], + // v5: purge sticky-null cache for /chains/ RPC section (2026-07-24). + // Snapshot has all 44 chains + best=YES, but ChainRpcSection was returning + // null on every /chains/ render (Fastest public RPC on text + // missing prod-wide). Bump busts the stuck v4 entry. + ["rpc-hub-cohort-v5", process.env.VERCEL_ENV === "production" ? "prod" : "all"], { revalidate: 60, tags: ["rpc-cohort"] }, );