cache options is undefined here.