manage bitmap cache