RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

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

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in