3 ms·
> If you're making a dynamic page, then you want to push as much logic to the client as possible because far more users are latency-limited than compute-limited
by fulafel 2y ago
> If you're making a dynamic page, then you want to push as much logic to the client as possible because far more users are latency-limited than compute-limited
This implies you value optimization over other concerns, will do ssr & rehydration, etc.
- mamcx 2y agoI work with user in far location, bad internet signal, and terrible low-end androids. Htmx has been the best performant of all my tries before. HTML is fast. (also, I use svg everywhere I can)
- skydhash 2y agoAlso, you can have a whole book with half of MB of html. So loading 2+ MB of JS, then a good amount of json, especially with high latency connection is not better than just loading the html with all the data baked in.
- mamcx 2y agoCorrect. Also, because I output all the formatting and do the processing/filtering/joining on the server, a lot of data is removed before get into the client. This is the most beneficial thing related to perf. I don't yet render fragments (only return full pages) so Is there a lot of potential for a speed up untaped...