Simple cache library