Implement image and cache config logic