simple cache library.