Cache indexes to speed up filesystem display