News for hackers. Stuff that matters.
Re:Introducing Twitter Lite by bharani_m on Thursday April 06, 2017 @06:24AM (#14049334)
Doesn't seem to use any kind of server-side rendering.
Re:Introducing Twitter Lite by daliwali on Thursday April 06, 2017 @07:08AM (#14049499)
This comment is getting downvoted but if it's true, it's absolutely a good point. They are optimizing for what is inherently slower: loading JS in the client before anything can be seen or interacted with, rather than rendering HTML and forms so one doesn't have to wait for JS to compile and execute (and all the tracking bloat that comes with it).
Re:Introducing Twitter Lite by underwater on Thursday April 06, 2017 @07:51AM (#14049711)
It's a progressive web app. This means users shouldn't have to wait for JS download or compilation on repeat visits.
Re:Introducing Twitter Lite by daleharvey on Thursday April 06, 2017 @09:18AM (#14050199)
It is not true, the slow part of web applications is loading over the network, server side rendering puts a dependency on the network and is therefore vastly slower.

With service workers and client side storage you can get to display at least a shell, sometimes the entire UI without touching the network. It is a lot faster

Re:Introducing Twitter Lite by daliwali on Thursday April 06, 2017 @10:54AM (#14051038)
Where do you think that JS in a web page comes from? Not from the network?

Service workers are a cache (and background process), and you still have to consider cache misses. Even if you have a giant JS app and cache it, users still have to download all the JS to actually work offline no matter what.

Re:Introducing Twitter Lite by bharani_m on Thursday April 06, 2017 @07:57AM (#14049747)
I don't know why my comment is getting downvoted. I was just making an observation after looking at the source.