Netlify supports all major Next.js features with zero configuration.
Under the hood, this is powered by our OpenNext adapter, which we maintain in the open and test alongside every stable release of Next.js.
For earlier Next.js versions
The information on this page is applies to Next.js version 13.5 and above. For earlier Next.js versions, visit the legacy runtime page.
If you have an existing Next.js app you’d like to deploy, push your code to a Git provider and connect it through the Netlify Dashboard.
When starting from scratch, the fastest way is to deploy our Next.js platform starter template to your Netlify account.
App Router: Netlify fully supports the Next.js App Router, which supports more powerful nested layouts and React’s latest features, such as Server Components and Streaming.
Automatic fine-grained caching: the adapter uses our fine-grained caching primitives to support the Next.js Full Route Cache and Data Cache. This means that static page responses are automatically cached at the edge and can be revalidated by path or by tag.
On-demand and time-based revalidation: both the App Router and Pages Router support on-demand and time-based revalidation, allowing you to revalidate and regenerate content at any time after a deploy.
Image optimization: the next/image
component uses Netlify Image CDN by default, to ensure your images are optimized and served in the most efficient format.
The following tables show you a comprehensive mapping of critical Next.js features and how Netlify supports them. Netlify supports new Next.js features as early as possible, but experimental features may not be fully stable yet.
Next.js Feature Support Notes App Router ✓ Full Support Server-Side Rendering (SSR) ✓ Full Support Incremental Static Regeneration (ISR) ✓ Full Support Static Site Generation (SSG) ✓ Full Support.next/after
✓ Full Support.
Netlify automatically configures your site to support modern Next.js features out of the box. This is powered by our OpenNext adapter, an open source project that provisions the correct infrastructure for each part of your Next.js application without custom configuration.
We recommend that you don’t pin the adapter version. We actively maintain the adapter to support all Next.js versions starting from version 13.5 and, if you don’t pin the version, we will automatically update the adapter to the latest version on each site build for you.
When you deploy a Next.js project on Netlify, the adapter automatically:
Provisions Netlify Functions for:
Provisions Netlify Edge Functions for:
Configures caching and revalidation with:
Enables image optimization with the Netlify Image CDN and next/image
We verify compatibility with every new stable version of Next.js. Each release of the adapter is tested using:
• Our official end-to-end test suite • Additional integration tests with Netlify’s platform • Real-world deploys using a public starter template
Not recommended
We recommend that you don’t pin the adapter version. We actively maintain the adapter to support all Next.js versions starting from version 13.5 and, if you don’t pin the version, we will automatically use the latest version on each site build for you.
To pin a specific version of the adapter:
Install the version you want in package.json
:
npm install @netlify/plugin-nextjs@<version>
Add the plugin to your netlify.toml
:
[[plugins]]
package = "@netlify/plugin-nextjs"
You’ll be opting out of automatic updates and newer architecture improvements maintained through OpenNext. To opt back in, remove @netlify/plugin-nextjs
from your package.json
.
Open issues are documented in the end-to-end test report page.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4