Git Product home page Git Product logo

Comments (3)

GeriFixit avatar GeriFixit commented on September 15, 2024 2

Could it be because of how Page/App routers cache data? as far as I know caching methods differ between this two router system.
image

from next.js.

Envoy49 avatar Envoy49 commented on September 15, 2024

Could it be because of how Page/App routers cache data? as far as I know caching methods differ between this two router system. image

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.

Envoy49 avatar Envoy49 commented on September 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.