Cache background image and map image