web: adopt Cache Components, Partial Prefetching and ensureStatic
web / ci (push) Successful in 2m2s

This commit is contained in:
ponas committed 2026-10-13 23:59:14 +02:00
1 parent 3a0c2fd82b
commit db286434ba
70 files changed
+1285 -316

No files matched your search

+7
View File
@@ -22,6 +22,13 @@ function remotePatterns() {
const nextConfig = {
output: "standalone",
cacheComponents: true,
partialPrefetching: true,
// Next renders every page per request, uncached, for the crawlers and
// link-preview bots on its "HTML-limited" list, so their metadata is never
// streamed after <head>. No page here streams metadata (it all comes from
// cached CMS data), so no bot needs that; this pattern matches none
htmlLimitedBots: /(?!)/,
images: {
remotePatterns: remotePatterns(),
formats: ["image/avif", "image/webp"],