Added experimental offline cache support