Serve static assets from versioned path

This commit is contained in:
Alan Grainger committed 2026-07-01 08:54:16 +12:00
1 parent 3c5fbcdc65
commit 5c8627b00c
1 file changed
+3
+3
View File
@@ -159,6 +159,9 @@ export async function gallery (res: Response, share: SharedLink, openItem?: numb
metaBase
}
// Always revalidate the HTML so it picks up new versioned asset URLs on
// upgrade; the assets themselves are immutable-cached. (304s via ETag.)
res.header('Cache-Control', 'no-cache')
res.send(renderPage(h(Gallery, props)))
}