  We present a new derivation of the Casimir force between two parallel plane
mirrors at zero temperature. The two mirrors and the cavity they enclose are
treated as quantum optical networks. They are in general lossy and
characterized by frequency dependent reflection amplitudes. The additional
fluctuations accompanying losses are deduced from expressions of the optical
theorem. A general proof is given for the theorem relating the spectral density
inside the cavity to the reflection amplitudes seen by the inner fields. This
density determines the vacuum radiation pressure and, therefore, the Casimir
force. The force is obtained as an integral over the real frequencies,
including the contribution of evanescent waves besides that of ordinary waves,
and, then, as an integral over imaginary frequencies. The demonstration relies
only on general properties obeyed by real mirrors which also enforce general
constraints for the variation of the Casimir force.
