Skip to content

Comment on Hacker News written with Angular 2.0parent

Comments

Hacker News loads in milliseconds because the content is generated on the server and insanely optimized. It's different architecture. Optimized server side page loads will always load faster than client size AJAX API calls + page 2x page rendering.

Of course Angular doesn't make sense for a site like HN but this is just a demonstration of what's possible with a site we're all familiar with.

A real world example of Angular is when you're working with HIPAA complaint applications which depend on 3rd party data storage sites, such as http://TrueVault.com. None of the patient information is stored on the application server. Instead, it makes client side API requests to the TrueVault storage and updates the page with the data.

Yes, Angular doesn't make sense for a majority of the websites in existence but it does work well for certain applications.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.