prepare cache document in ScriptEvaluator.init()