add image cache config