Image mem and disk cache