Next.js Discord

Discord Forum

export const experimental_ppr = false prerenders the page while cahcComponents is enabled

Unanswered
Chinese softshell turtle posted this in #help-forum
Open in Discord
Chinese softshell turtleOP
and cant use the ppr : "incremental" because of cahcComponents

here is my config
import type { NextConfig } from "next";

/**
* Run build or dev with SKIP_ENV_VALIDATION to skip env validation. This is especially useful
* for Docker builds.
*/
// Import environment validation synchronously
import "./src/env.js";

const nextConfig: NextConfig = {
// Already doing linting and typechecking as separate tasks in CI
eslint: { ignoreDuringBuilds: true },
typescript: { ignoreBuildErrors: true },
experimental: {
cacheComponents: true
}
};

export default nextConfig;

0 Replies