add support for merged cache