add cache support for circlemetadata (new metagen)