Hacker News new | ask | show | jobs
by wavemode 465 days ago
Even aside from Next.js specifically - when did it become okay that visiting a website fires off dozens of HTTP requests? Back in the day the server would just render the site and return it in one request. It seems nowadays we are causing both the client and server to do a lot more work. And it's not like development has gotten easier, it's mostly gotten harder. So it's simply the worst of all worlds?
2 comments

The server would almost always respond with at the very least an HTML page and a stylesheet, since ages ago you would likely also make a request for js.

Every image has always been a seperate request and video, which is chuncked, is multiple requests.

Unlesd you are deploying an unstyle HTML page with no media the server isn't serving 1 request even for old school web pages.

Since at least 15 years.