Many left Buddha statues there, and the cave temple in its present form is the result of centuries of pilgrimages.