Various cache implementations based on different cache algorithms