add simple cache support