From 098c5d22f49df8bde02987ea9b704a9c19eec1b2 Mon Sep 17 00:00:00 2001 From: ankurmans <12939357+ankurmans@users.noreply.github.com> Date: Fri, 30 Oct 2026 05:26:37 +0100 Subject: [PATCH] Note in edge-cache that the file stays free of imports --- lib/edge-cache.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/edge-cache.js b/lib/edge-cache.js index 8f742301..f1fd7ca9 100644 --- a/lib/edge-cache.js +++ b/lib/edge-cache.js @@ -1,7 +1,7 @@ // The public pages that look the same to everyone, kept in the data center's cache by worker-entry.mjs so a visitor or a // crawler doesn't wake the whole app for them: the app's own pages and files (the docs, the legal pages, robots.txt, the // OpenAPI document), and the public pages of a newsletter's archive on its own host. No imports: the Worker's entry loads this -// before Next.js. +// before Next.js, so it stays free of imports. // // Fresh for FRESH_SECONDS. Past that the stored copy still answers while a new one is fetched behind it, up to // STALE_SECONDS, so after the first visit nobody waits for the app. The key carries the Worker's version, so a deploy never