Analysis and observation, on an atomic resonance, of the frequency shift due to the length modulation of an optical cavity.