News for hackers. Stuff that matters.
Re:Static Web Apps – A Field Guide by badman_ting on Sunday April 06, 2014 @01:32PM (#7541655)
It certainly has its advantages. I would even say if you can get to a point where your app is totally static, you should do it. But if there's even a little server-side state things can get complicated pretty quickly.

For example, say your app uses hash/fragment URLs, and users need to be logged in to access the app. A user hits yourapp.com/#/whatever, but isn't logged in, so you bounce them to the login page. Except, oops, the hash/fragment doesn't get sent to the server, so your login page doesn't know where to redirect the client after logging in.

Re:Static Web Apps – A Field Guide by ethikal on Sunday April 06, 2014 @01:34PM (#7541666)
There are ways around this. With ember it is possible to use browser history to mask the hash... http://emberjs.com/guides/routing/specifying-the-location-ap...