3 ms·
Yes. I remember reading that this latest approach is only really viable because of the use of HTTP2 for the requests and the adoption of that technology. The
by jonwinstanley 4y ago
Yes.
I remember reading that this latest approach is only really viable because of the use of HTTP2 for the requests and the adoption of that technology.
The swing towards frontend made sense before this step change in latency.
- brimble 4y agoAJAX was originally about speed, but as soon as it changed from fetching and injecting HTML fragments, to fetching data (usually JSON) and performing a bunch of transformations and interpretations of it before finally modifying the DOM, it's been in practice slow as hell compared with traditional server-side rendering.
- jonwinstanley 4y agoTotally agree. Doing everything on the frontend is great for making the UI feel responsive, but once you start grabbing large amounts of data from an API, manipulating it on the frontend while keeping it in sync with the server, you run into some major headaches very fast.