Whenever I build my application I see all paths generated statically.
Route (app) Size First Load JS
┌ ○ /_not-found 887 B 86.8 kB
├ ● /[slug]/[id] 142 B 86.1 kB
├ ├ /simone/42
├ └ /mario/43
├ ○ /foo 3.66 kB 123 kB
├ ○ /bar 2.02 kB 126 kB
├ ○ /cippalone 7.05 kB 127 kB
├ ○ /trippa 7.31 kB 131 kB
└ ○ /testarancio 349 B 93.1 kB
But I can visit
- /simone/42
- /mario/43
- /paracarro/666
And I am never getting 404. What really is happening?
I expected that all the pages generated using generateStaticParams() will be saved somewhere BUT that new routes will…
- generate new contents dynamically or…
- return 404 due to the fact some content is not yet generated…
I do not really understand what is happening under the hood. Maybe prebuild pages avoiding building in realtime? Simply make fast the application building content before the requests… I dont really understand the purpose …