index now use getAllFromCache