added instanciateCallback option to allow cache instanciation responses