I hear you. Yeah, it is simpler. It is slower, if you are going to query your DB on every request. Of course, you can cache those pages, but then you need the complexity in invalidating the cache when your CMS changes.
At some point, what is the value of replacing Wordpress with NextJS if we are doing exactly the same thing? To be clear, I'm not a fan of PHP and I hope it goes away someday. Still, if we are going to lean heavy into SSR and that is the future, I start to think about really fast server tech stacks. Blazor or some Rust solution. If we are generating HTML with no to very minimal javascript, why even bother with React? Again, to clarify, TS/Node is my go-to stack. So I am heavy invested there. But we are doing all this for speed right? Trying to make everything just a bit faster? With that logic, Node is slower than Rust and C#/.NET.
Finally, all this heavy SSR tooling is completely throwing out the reason we put logic into the clients in the first place. Internet connections still suck. While a horrible name, the point of the PWA combined with apis and offline-first approach continues to be of interest to me.
Thanks very much for sharing your thoughts on that, much appreciated!
Good point regards complexity of caching for SSR, have to dig deeper into this, no experience yet.
Maybe just one quick response to one aspect:
"But we are doing all this for speed right?"
Personally I'm interested in building robust, long term maintainable websites with good developer experience and following the "keep it simple"-approach as much as possible. Speed and performance (+ SEO, accessibility and sustainability) are key indicator as well of course. But I guess that depends on the area of work. Worked recently in a small agency dev team and having everything in one repo seemed to be a simple, maintainable approach - in contrast to all other setups. (Especially when the database is available as well - just like in PHP/MySQL webhosting - exactly what Vercel is now offering as combined product as well twitter.com/m_andrasch/status/1658... [vercels pricing model is debatable of course ;-)] Hope that more hosting companies will offer SSR in future, recently tested mittwald dev.to/mandrasch/hosting-nodejs-ss...)
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I hear you. Yeah, it is simpler. It is slower, if you are going to query your DB on every request. Of course, you can cache those pages, but then you need the complexity in invalidating the cache when your CMS changes.
At some point, what is the value of replacing Wordpress with NextJS if we are doing exactly the same thing? To be clear, I'm not a fan of PHP and I hope it goes away someday. Still, if we are going to lean heavy into SSR and that is the future, I start to think about really fast server tech stacks. Blazor or some Rust solution. If we are generating HTML with no to very minimal javascript, why even bother with React? Again, to clarify, TS/Node is my go-to stack. So I am heavy invested there. But we are doing all this for speed right? Trying to make everything just a bit faster? With that logic, Node is slower than Rust and C#/.NET.
Finally, all this heavy SSR tooling is completely throwing out the reason we put logic into the clients in the first place. Internet connections still suck. While a horrible name, the point of the PWA combined with apis and offline-first approach continues to be of interest to me.
Thanks very much for sharing your thoughts on that, much appreciated!
Good point regards complexity of caching for SSR, have to dig deeper into this, no experience yet.
Maybe just one quick response to one aspect:
Personally I'm interested in building robust, long term maintainable websites with good developer experience and following the "keep it simple"-approach as much as possible. Speed and performance (+ SEO, accessibility and sustainability) are key indicator as well of course. But I guess that depends on the area of work. Worked recently in a small agency dev team and having everything in one repo seemed to be a simple, maintainable approach - in contrast to all other setups. (Especially when the database is available as well - just like in PHP/MySQL webhosting - exactly what Vercel is now offering as combined product as well twitter.com/m_andrasch/status/1658... [vercels pricing model is debatable of course ;-)] Hope that more hosting companies will offer SSR in future, recently tested mittwald dev.to/mandrasch/hosting-nodejs-ss...)