adding cache of image handlers