←back to thread

Less Htmx Is More

(unplannedobsolescence.com)
169 points fanf2 | 1 comments | | HN request time: 0s | source
Show context
axegon_ ◴[] No.43620121[source]
> Updates that users would not expect to see on a refresh (or a new page load)

I always hated this idea. As a user, a refresh indicates that something is happening and it's abundantly clear when something is wrong. People don't always handle errors and in all fairness they shouldn't - a developer has no way of knowing what custom stuff I have on my browser, whether I'm using any blockers or pi-holes or whatever and they should not know. Simple navigation, refreshes and server side rendering is something which worked great, the web was fast and could run on anything with a graphical output. These days a single page eats up 150+ mb while it loads. All that so the page doesn't "refresh".

replies(2): >>43620225 #>>43620587 #
sgt ◴[] No.43620225[source]
It's not that smooth looking if a refresh takes 500 milliseconds. Then it flickers.
replies(3): >>43620323 #>>43620644 #>>43620837 #
1. foobahify ◴[] No.43620323[source]
500ms means a slow connection, high latency or significant bloat.

Optimising the page and using a CDN can help alot.

It is a shame HTML doesn't have rel="swap" in links to "swap" in a new page.