Add reference sequence index cache to speed up query by 20% for certain

usecases