RubyFlow : The Ruby Community Blog

Home   Submit   Sign Up   Log In   leaders   Twitter   RSS Feed  
 

How to speed up your AngularJS + Rails app by reducing HTTP Calls

By default, AngularJS sites are slower than they need to be. Most AngularJS sites are bogged down with multiple HTTP calls on the initial page load. Multiple HTTP calls result in slower response time, and higher heroku bills. Sites that load slow can see users flee your site, especially on Mobile connections. AngularJS apps have two low hanging, easy wins for reducing HTTP calls: ng-init for preloading JSON, and preloading your templates using the asset pipeline. http://www.angularails.com/articles/how_to_speed_up_your_angularjs_rails_app

Comments

Post a Comment

Comment abilities for non registered users are currently deactivated, pending time to add a proper CAPTCHA to solve the escalating spam problem. Sorry!