3 ms·
I am not sure how you define those percentages, but Facebook's homepage is regenerated on every pageview. Storing the entire homepage html in cache for every us
by ma2rten 15y ago
I am not sure how you define those percentages, but Facebook's homepage is regenerated on every pageview. Storing the entire homepage html in cache for every user would not work, because every time someone posts something you'd need to regenerate the homepage for all their friends (# of times someone posts something * avg # of friends > # pageviews homepage).
- jasonlotito 15y agoSorry, I was referring to the data, not the HTML output. Even still, you could cache components of that page. Your feed might update often, but their are many things that don't change on ever page load, and they can be cached for a long time.