get cache working