Hacker News new | ask | show | jobs
by colejohnson66 1777 days ago
Over 100 requests per load? That has to be static files like images, right? Do they not have a cache system for that (like what Cloudflare provides)?
2 comments

Articles, thumbnails, comments, votes, awards, users, I'm sure it all adds up considering the dynamic nature of what each user sees. And they do do a lot of caching to make it work:

https://redditblog.com/2017/1/17/caching-at-reddit/

A friend worked on a project that reached several hundred requests at one point.

Basically they had a 10 request component. Only one on the page so even though it wasn't that efficient, they didn't care.

But then their PM wanted 20 of them on a page. It was a Scrum team so velocity mattered, so they just had a for loop generate 20 of them.