Cooling of rare-earth doped YLF using cavity enhanced resonant absorption