Hello, we're developing a largish angular application and our users are often staying a long time in the application. We're wondering how to make sure there always using the latest version of the angular code instead of the stale version they got on their first page access.
As far as I can see from stackoverflow there are the following solutions 1 send a version on every REST response and let the client updated if the server has new code 2 link to resources with a path that includes a version, but this doesn't work if the index.html linking to the resources is not reloaded 3 open a websocket connection between client and server and let it know this way, when something changes We're currently using 2 with the disadvantage that the index.html has to be reloaded. 1 seems feasible if a bit cumbersome and 3 seems heavy-handed. Are there best practices how to address this issue for SPAs? Regards, Tim -- You received this message because you are subscribed to the Google Groups "AngularJS" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/angular. For more options, visit https://groups.google.com/d/optout.
