Comments (3)
Could it be because of how Page/App routers cache data? as far as I know caching methods differ between this two router system.
from next.js.
Could it be because of how Page/App routers cache data? as far as I know caching methods differ between this two router system.
I don't see how caching can be related to this problem.
If you look at the example I provided there is just a simple page with h1 tag.
from next.js.
removing this in next.config.js
fixes the issue but I am not sure how this can affect the app router?
i18n: {
locales: ["en-AU"],
defaultLocale: "en-AU",
},
here is the difference before and after
✓ Compiled /test-app-router in 394ms (479 modules)
GET /test-app-router 200 in 730ms
GET /test-app-router 200 in 248ms
GET /test-app-router 200 in 238ms
⚠ Found a change in next.config.js. Restarting the server to apply the changes...
Debugger listening on ws://127.0.0.1:9230/3d8a59f2-3443-43f0-9bac-a41e079edf18
For help, see: https://nodejs.org/en/docs/inspector
the --inspect option was detected, the Next.js router server should be inspected at port 9230.
▲ Next.js 14.2.8
- Local: http://localhost:3000/
- Environments: .env
- Experiments (use with caution):
· externalDir
· outputFileTracingRoot
✓ Starting...
✓ Ready in 1567ms
✓ Compiled /test-app-router in 392ms (479 modules)
GET /test-app-router 200 in 506ms
GET /test-app-router 200 in 30ms
GET /test-app-router 200 in 38ms
GET /test-app-router 200 in 48ms
from next.js.
Related Issues (20)
- Catch all route within dynamic segment breaks dynamic params HOT 1
- Catch all route within dynamic segment breaks dynamic params HOT 1
- Catch all route within dynamic segment breaks dynamic params
- Next.js App Router: Server Component with Context Provider and Tailwind causes rendering issues
- Docs: fix data fetching with an ORM or db HOT 3
- Experimental: useLightningcss doesn't actually work HOT 1
- nextjs 12.1.6 not support nodejs 20.16.0? HOT 1
- Ensure the component tree is only rendered once during SSG/revalidations #67680. Why hasn’t it been merged in the release? HOT 1
- Ensure the component tree is only rendered once during SSG/revalidations #67680. Why hasn’t it been merged in the release? HOT 1
- Ensure the component tree is only rendered once during SSG/revalidations #67680. Why hasn’t it been merged in the release? HOT 1
- nextjs 14.2.8 broke dynamic component HOT 1
- next v14.2.8 with next/dynamic component breaks app HOT 9
- i did not get "/hrms/_next/data/[hash]/[file].json" after build HOT 1
- The `app-dir-i18n-routing` example doesn't respect defaultLocale and doesn't preserve selected locale while navigating
- iFrame will not call the onLoad handler in dev mode
- AsyncLocalStorage accessed in runtime where it is not available HOT 1
- generateStaticParams validation makes react-router migrations difficult
- An error occurred in `next/font`. TypeError: Cannot read properties of undefined (reading 'ascent') HOT 1
- Scroll Position Issue When Changing Pages HOT 3
- Compilation is slow HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next.js.