Add cache support for SDK