mirror of
https://github.com/hanzoai/next.js.git
synced 2026-10-30 14:46:38 +00:00
During build-time prerendering, when we're only caching `fetch` calls implicitly to improve build performance, and not because the user has explicitly opted into fetch caching, we should not enforce the 2MB size limit. 1. The size limit is not required of the file-system-based cache that's used at build time. 2. The warning is not helpful to users, as they are not aware of the implicit caching behavior. Related PRs: - https://github.com/vercel/next.js/pull/68546 - https://github.com/vercel/next.js/pull/79384
11 lines
192 B
JavaScript
11 lines
192 B
JavaScript
export default function Layout({ children }) {
|
|
return (
|
|
<html lang="en">
|
|
<head>
|
|
<title>my static site</title>
|
|
</head>
|
|
<body>{children}</body>
|
|
</html>
|
|
)
|
|
}
|