cache complete directory infos in RootIndex
lazy runtime code generation in dom
no code generation during dom stub building