web: adopt Cache Components, Partial Prefetching and ensureStatic
web / ci (push) Successful in 2m2s
web / ci (push) Successful in 2m2s
This commit is contained in:
70 files changed
+1285
-316
No files matched your search
@@ -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"],
|
||||
|
||||
Reference in new issue
Block a user