News for hackers. Stuff that matters.
Re:You probably don't need a single-page app by nicoburns on Sunday February 17, 2019 @05:18PM (#19187263)
You could also run server-rendering with a service worker. There's nothing about a service worker that means it only works with SPAs. It basically just gives you control over caching behaviour...
Re:You probably don't need a single-page app by callalex on Sunday February 17, 2019 @09:44PM (#19188278)
You can also control caching behavior by just setting the headers correctly in the first place. I think the takeaway here is that sometimes SPA frameworks make the behavior “just work” in more cases when the developer doesn’t put any thought into correct cache handling.