Multilayer control of an optical reference cavity for space applications