Skip to content

skiddoo/angular-abortable-requests

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

###angular-abortable-requests

Abortable AJAX requests in AngularJS Applications

Build Status

Creating $resource and $http which can be aborted efficiently.

####Why?

Large web applications require lots of information to operate. Whether that’s navigating between menus and tabs or just clicking around, the application has to make a lots of Ajax requests to fetch data from the server. Often times the application ultimately doesn’t need all the requests made as it might not be relevant. These requests can potentially trip up the UI as the server may be slow that one request overtakes another making the application process or show stale data. So we need to be able to abort old requests to make the application faster, responsive and show correct information.

More information about the implementation is in this blog post.

####Install using bower bower install angular-abortable-requests

About

Abortable AJAX requests in AngularJS Applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%