towards a small, clean and simple cache