News for hackers. Stuff that matters.
Re:XSLT – Native, zero-config build system for the Web by em-bee on Friday June 27, 2025 @03:41AM (#44394607)
at the current technology we could cope with server generated old-school web pages because they would have low footprint, work faster and require less memory.

unless you have a high latency internet connection: https://news.ycombinator.com/item?id=44326816

Re:XSLT – Native, zero-config build system for the Web by p0w3n3d on Friday June 27, 2025 @03:45AM (#44394642)
however when you have a high latency connection, the "thick client" json-filled webapp will only have its advantages if the most of the business logic happens on the browser. I.e. Google Docs - great and much better than it used to be in 2000s design style. Application that searches the apartments to rent? Not really I would say.

-- edit --

by the way in 2005 I programmed using very funny PHP framework PRADO that was sending every change in the UI to the server. Boy it was slow and server heavy. This was the direction we should have never gone...

Re:XSLT – Native, zero-config build system for the Web by em-bee on Friday June 27, 2025 @04:00AM (#44394747)
Application that searches the apartments to rent? Not really I would say.

not a good example. i can't find it now, but there was a story/comment about a realtor app that people used to sell houses. often when they were out with a potential buyer they had bad internet access and loading new data and pictures for houses was a pain. it wasn't until they switched to using a frontend framework to preload everything with the occasional updates that the app became usable.

low latency affects any interaction with a site. even hackernews is a pain to read over low latency and would improve if new comments where loaded in the background. the problem creeps up on you faster than you think.

Re:XSLT – Native, zero-config build system for the Web by _heimdall on Friday June 27, 2025 @07:02AM (#44395762)
Prefetching pages doesn't require a frontend framework though. All it takes is a simple script to preload all or specific anchor links on the page, or you could get fancier with a service worker and a site manifest if you want to preload pages that may not be linked on the current page.
Re:XSLT – Native, zero-config build system for the Web by chriswarbo on Friday June 27, 2025 @09:08AM (#44396533)
It shouldn't need any scripts https://en.wikipedia.org/wiki/Link_prefetching

It can also be imposed by the client, e.g. via a https://en.wikipedia.org/wiki/Web_accelerator

Re:XSLT – Native, zero-config build system for the Web by _heimdall on Friday June 27, 2025 @09:18AM (#44396589)
Yep, that works as well. I'll reach for a script still if I want more logic around when to prefetch, like only prefetching on link hover or focus. A script is also needed for any links that you need to preload but aren't included on the current page.
Re:XSLT – Native, zero-config build system for the Web by catmanjan on Friday June 27, 2025 @04:45AM (#44395025)
Lol you'd hate to see what blazor is doing then
Re:XSLT – Native, zero-config build system for the Web by Tade0 on Friday June 27, 2025 @04:52AM (#44395072)
Or Phoenix.LiveView for that matter.
Re:XSLT – Native, zero-config build system for the Web by p0w3n3d on Friday June 27, 2025 @06:36PM (#44400907)
I have no hate/love relation to that matter. Tbh I don't care, but my phone gets hot when it has to load another 5/10/20/100MB Single Page Application that displays a few lines of nicely formatted text, an animated background and a button "subscribe"

By the way, GWT did it before.