I have a backbone application that renders many views in parallel and each view is sending multiple REST requests through collections. Now suppose if user closes one view before the http requests for the same have been completed, I see that in the network console, the HTTP requests still continues to fetch the data from the server. This data will never be rendered and will be fetched un-necessarily.
Is there a way we can stop all HTTP requests initiated by the Backbone View as soon as the view gets destroyed.