Hacker News new | ask | show | jobs
by didip 19 days ago
If we are going to rant like this… i’d say even most of JS is unnecessary.

Just use server side template rendering with HTMX. LLM can see server side request flow better anyway.

1 comments

As a user I don't really appreciate sites that do this as they tend to have worse latency for UI interactions and less pleasant page transitions. And of course, they are unusable offline
My sites with htmx have less latency for ui interactions and page transitions work like every page on the internet.

As for offline, yeah, my Internet web page doesn't work offline. Shocker.

> As for offline, yeah, my Internet web page doesn't work offline.

That's really too bad honestly. What about your users who want to use your site when they're offline? Sympathy with those users is why I made sure that my site works well when offline.

Whether this is actually beneficial (let alone possible) depends heavily on the type of site.

Web apps that are valuable to use offline also tend to be the kind that really do warrant client-side logic and rendering (a spreadsheet web app is a classic example).

If the site's focus is providing information (e.g. Wikipedia), then working offline really just means loading all the backing data into the browser, which quickly becomes impossible.

I'm sure there are cases where offline availability is a huge plus (your site might be a good example), I just don't think it's universally applicable.