use soft cache instead of fixed-size cache for raw images