port mru_cache from chromium project