Allow cache img to be disabled