Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/edge-cache.js
Original file line number Diff line number Diff line change
@@ -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
Expand Down
Loading