News Score: Score the News, Sort the News, Rewrite the Headlines

Data Fetching Patterns in Single-Page Applications

Today, most applications can send hundreds of requests for a single page. For example, my Twitter home page sends around 300 requests, and an Amazon product details page sends around 600 requests. Some of them are for static assets (JavaScript, CSS, font files, icons, etc.), but there are still around 100 requests for async data fetching - either for timelines, friends, or product recommendations, as well as analytics events. That’s quite a lot. The main reason a page may contain so many request...

Read more at martinfowler.com

© News Score  score the news, sort the news, rewrite the headlines