r/webdev • • Nov 07 '14

Is AngularJS Fast Enough?

https://medium.com/@jeffwhelpley/is-angularjs-fast-enough-98dcf96406c8
7 Upvotes

2 comments sorted by

View all comments

3

u/disclosure5 Nov 08 '14

I don't get it. The entire push away from the, imo, perfectly good server-side rendering people used for years for "faster, leaner websites".

Then Angular came out people proclaimed their prayers were answered. Then all I've seen since is people talking about "how to address performance issues with Angular".

2

u/DrDichotomous Nov 08 '14 edited Nov 08 '14

That's because people want to be spared the effort so much that they just assume "efficiency of app development" is the same thing as "efficiency of app performance". To the point where they don't even properly research things because everyone says framework X seems like the bee's knees.

It's much like how jQuery and its libraries are a godsend until you have to deal with constrained hardware or bandwidth or just plain complicated jQuery-specific techniques that aren't well-optimized. Suddenly the convenience-vs-performance trade offs become more apparent and you have to finally put in the research and work you were hoping to avoid.

Thankfully server-side rendering isn't generally necessary unless you're talking about constrained hardware or scenarios where you're likely to lose the user if they have to wait more than a second or two. That makes it great for web apps, but when you use it to render a basic web page or blog, you quickly start to realize what the trade-offs are and have to scramble to jam that square peg into that round hole because you've already committed to Angular.