News for hackers. Stuff that matters.
Re:Portals API by syberspace on Tuesday June 30, 2020 @08:20AM (#23689311)
So the tradeoff we're making is between the user seeing a white screen for a couple of (mili)seconds and the websites getting even more bloated by preloading content that the user might or might not want to see in the future?

Why not just optimize page loading performace?

Re:Portals API by satyrnein on Tuesday June 30, 2020 @05:20PM (#23694921)
In practice, that white screen is driving people to adopt client side rendering and greatly increased complexity. Another option might be nice!
Re:Portals API by GhostVII on Tuesday June 30, 2020 @09:34AM (#23689813)
I think it makes a lot of sense in cases where you have multiple lightweight webpages (ex. Wikipedia). The extra bloat is minimal and you still get the benefit of smoother and faster transitions between articles. Presumably the preloaded content would be loaded in the background so page load wouldn't be affected, I don't really see the downside to this aside from data/battery usage if you are on mobile.