laravel-image-legacy icon indicating copy to clipboard operation
laravel-image-legacy copied to clipboard

Can't get cached image from custom folder

Open wielski opened this issue 8 years ago • 2 comments

Package can't get cached image from custom folder, so on every query image is generated again.

wielski avatar Jul 11 '16 09:07 wielski

I just installed the package in one of my projects and I experience the exact same issue. Every time the page loads the cache is just ignored.

As a workaround I enabled the 'write_image' => true (config/image.php), so the reduced image is stored in the exact same location as the original one.

Kyosfonica avatar Aug 30 '16 12:08 Kyosfonica

Not sure if it's the same issue. The write_image config is not a workaround, it works like that. The image is generated on every request except if you choose to write the image. Then, on the next request, the static image is served.

dmongeau avatar Sep 09 '16 21:09 dmongeau