Generator: possibility to have own cache storage