index -> cache