This is true, but it should be pointed out that Facebook scales very poorly. Messages disappear/reappear, friends are suddenly missing and suddenly back, your own posts suddenly vanish.
I think Facebook does a pretty decent job considering that they have hundreds of millions of users, with many of them hitting the site many times a day. They've got an absolutely tremendous amount of traffic.
That points to poor caching and poor scalability.