Quantcast
Viewing all articles
Browse latest Browse all 3491

Re : Model caching?

Two years later, I find myself with this issue.

I have an event model with an array of attendees, on my page if the user hits a cancel or rsvp button it sends a request to the server that either adds or removes them from the list of attendees. Then i use the events findOne method to grab the newest version of that object, when a user rsvp'es all is good, when they cancel the correct data gets returned, I can see it in the network inspector, but the response data passed to my 

.done(function(response){
})

callback is the cached version

Viewing all articles
Browse latest Browse all 3491

Trending Articles