Live data from Hacker News

Ask HN: Server side rendering is now a good idea?

news.ycombinator.com

11–20 of 43 posts

Re: Ask HN: Server side rendering is now a good idea?

#11
Security definitely. You are leaking far less of your web interface by rendering everything on the server. There are a lot of neat SPA out there, but anything that is doing a boring old CRUD kind of job really should be server side just to reduce the attack surface.

Re: Ask HN: Server side rendering is now a good idea?

#13
I'll be a contrarian here. Client side rendering is just getting started. With faster storage for cheap and fast internet there will be less and less reason to put things in a server. Add in things like wanting end-to-end encryption, privacy issues and most things will be in the browser, imho.

Re: Ask HN: Server side rendering is now a good idea?

#14
post #4

You might want to look into what the creator of htmx has to say about this topic. He's here on hn and may even show up for this thread. Here are the essays: * https://htmx.org/essays/

Fantastic article. And I appreciate you sharing it with me.

The idea of introducing a new attribute to a HTML tag, whether it be "_" or "_foo" or "_do" doesn't quite sit properly with me.

Especially if it's not part of the HTML5 standards.

Re: Ask HN: Server side rendering is now a good idea?

#15

I'll be a contrarian here. Client side rendering is just getting started. With faster storage for cheap and fast internet there will be less and less reason to put things in a server. Add in things like wanting end-to-end encryption, privacy issues and most things will be in the browser, imho.

[deleted]

Re: Ask HN: Server side rendering is now a good idea?

#17

It's a lot simpler for sure these days. I've built my indie startup with Phoenix Liveview. It's all server side rendered, with liveview sprinkling in interactivity. Can you tell it's server side rendered? https://www.gamedrop.gg/lists/slymilano/exciting-game-releas... https://www.gamedrop.gg/game/hogwarts-legacy I think there are similar tools in other platforms like Rail's and Laravel.

Tried it on my old kindle fire and the performance is amazing. If you are targeting regions with mainly low performance devices this is how you should do it. Love it.

Re: Ask HN: Server side rendering is now a good idea?

#18

It's a lot simpler for sure these days. I've built my indie startup with Phoenix Liveview. It's all server side rendered, with liveview sprinkling in interactivity. Can you tell it's server side rendered? https://www.gamedrop.gg/lists/slymilano/exciting-game-releas... https://www.gamedrop.gg/game/hogwarts-legacy I think there are similar tools in other platforms like Rail's and Laravel.

Tried it on my old kindle fire and the performance is amazing. If you are targeting regions with mainly low performance devices this is how you should do it. Love it.

That's so encouraging to hear thanks for sharing your experience!

Re: Ask HN: Server side rendering is now a good idea?

#19

I'll be a contrarian here. Client side rendering is just getting started. With faster storage for cheap and fast internet there will be less and less reason to put things in a server. Add in things like wanting end-to-end encryption, privacy issues and most things will be in the browser, imho.

There will always be clients with weird or arbitrary limitations. Whether or not you care about them depends on how decoupled your business is from hardware IMO

Re: Ask HN: Server side rendering is now a good idea?

#20

It's a lot simpler for sure these days. I've built my indie startup with Phoenix Liveview. It's all server side rendered, with liveview sprinkling in interactivity. Can you tell it's server side rendered? https://www.gamedrop.gg/lists/slymilano/exciting-game-releas... https://www.gamedrop.gg/game/hogwarts-legacy I think there are similar tools in other platforms like Rail's and Laravel.

Looks great and performs great. Thank you for sharing!
Post reply on HN