Re:Angular-data: data store and caching for Angular.js
by Doublon on Wednesday September 10, 2014 @04:34PM
(#8298956)
I would probably make an HTTP interceptor to remove the elements from the cache on non-GET methods. The same could probably be done on socket events if you sync your clients with socket.io or something alike.
e.g.: PUT /users/123 => delete from cache the user "123"
e.g.: PUT /users/123 => delete from cache the user "123"