News for hackers. Stuff that matters.
Re:Show HN: Sapper.js – towards a better web app framework by RobertRoberts on Tuesday January 02, 2018 @01:58PM (#16054342)
I tried this on my phone. (Android/Firefox) And I found that it's about .5 second to navigate between pages on hn.svelte.technology And about 1.5-2 seconds with the news.ycombinator.com, on average. Sometimes the straight page load was just as fast (.5 second) and sometimes it sat there while 3-5 seconds.

Yes, the svelte is generally faster on my phone as well. (I am not sure I see the need for a framework for this specific feature though, it's just a js tabs sort of interface. It doesn't seem like a good argument piece for or against this framework)

I did get a possible error, the pages didn't match up after a while. Is the svelte data was being cached in a way that can't refresh properly? I can't debug this as a normal user, does hitting refresh do anything to reload the site content on the svelte site?

Try this, open both sites in different tabs, and navigate around on them a few times, and after awhile, the news.ycombinator will show new content, and the other one will be different. (I am guessing older content, server cache issue? I didn't compare carefully, maybe they started off different and I didn't notice)

Re:Show HN: Sapper.js – towards a better web app framework by rich_harris on Tuesday January 02, 2018 @03:23PM (#16055234)
Possibly a misbehaving service worker serving stale content! I can never configure those right first time.