Everything here is my opinion. I do not speak for your employer.
May 2008 →
Linus on Caching
- I really dislike adding a cache that is there just because we do
stupid. We can fix the over-abundance of lstat() calls by just being
smarter. And the smarter we are, the less the cache will help, and the
more it will hurt. Which is the real reason why I think the cache is a
really really bad idea: it optimizes for the wrong kind of behavior.
So we have other caches and hashes we use, like the index itself, or the
name lookup hash into the index, or the delta cache. Maintaining those
caches takes some effort too, but those caches aren't there because we're
doing something stupid, they are there because they allow us to do
Torvalds on caching repeated operations
Try my project! Tailscale: a new, magically easy mesh VPN based on WireGuard.