Previously SecretPancake on Feddit

  • 0 Posts
  • 41 Comments
Joined 6 months ago
cake
Cake day: May 19th, 2024

help-circle









  • There is no latency on static pages. They are rendered once as regular HTML and then saved on the server to be immediately ready for the user. The server is only processing that initial data fetching and rendering once per site. If needed, it can be retriggered. This is great for blogs and other regular pages.

    Server pages on the other hand will do the initial fetch request every time but once the site is there, no data is missing and everything is there. It’s not for everyone. Regular dynamic pages still make sense. For every method there are use cases.

    Disclaimer: I’m speaking from my experience with Next.js which did the same thing long before and React now aims to make that easier. But I’m not sure if React has the distinction between static and server. It’s all new and I haven’t had a project to test it on yet.







  • I get angry when cars stop for me when I could easily and safely cross the street after they pass without me having to wait more than 2 seconds so why even bother pretending to be nice? But now they stop for me and I need to hurry up so they don’t have to wait too long and it stresses me out! Just drive, there is no law that says you should stop here for pedestrians! I can handle this myself.