Results on diffractive dijet and W-boson production from CDF are reviewed and compared with predictions based on factorization of the diffractive structure function of the proton measured in deep inelastic scattering at HERA.