Cache management library