by lookingsideways · 12y ago · 0 comments
I'd have to say the Discourse project (http://discourse.org) provides a fantastic counter example to this. It shows what can be achieved when SPAs embrace the URL and a lot of thought is put into how the modern browser features can be used to improve the user experience rather than just jumping on the bandwagon.
Example forums:
http://meta.discourse.org http://discuss.atom.io http://discuss.emberjs.org
I just do not see any benefits going SPA style when working with data that is essentially collection of documents.
Especially if you're in Europe (I get a ping time of 24 msec from Switzerland), the pages load nearly instantly. It's actually the sort of thing that you notice and go "whoa" it's so fast.
Yet there's nothing special about it. It's just a regular web server, written in D, that serves pages really fast (probably out of cache).
If you use HTTP caching and compression appropriately, and keep your design light, there's no particular reason you need to use Javascript to speed things up.