Cache library