'to spring back'

Hi,

Please could you explain meaning of the phrasal verb ‘to spring back’ in the sentence from the recipe:

‘Bake for 1 hour till cake springs back.’

Thanks in advance!

Spring back would mean that it’s firm enough to bounce back some when touched.