Cache metadata in an LRU cache instead of fetching it from disk everytime