We're using CropUp which uses ImageResizer again. So if you just add the DiskCache plugin and configure it in the web.config all images from GetCroppedImage("image", 300, 300, quality:70); will be returned cached.
In the Hybrid Framework version on github it's recalculated on each request, because the DiskCache pluging is commercial, but we enable it on all the websites we develop.
Cropped Image cached ?
Hello,
I usually use ImageGen or ImageResizer with the DiskCached plugin to save custom resized image.
Is there any cachinh with the DAMP cropped image ?
For example, in the NewsItem.cshtml when you do
"var image = Model.Content.GetCroppedImage("image", 300, 300, quality:70);"
Is the cropped image cached with the 300x300 size somewhere ? or is it recalculated for each request ?
Many thanks
Fabrice
Hello,
We're using CropUp which uses ImageResizer again. So if you just add the DiskCache plugin and configure it in the web.config all images from GetCroppedImage("image", 300, 300, quality:70); will be returned cached.
In the Hybrid Framework version on github it's recalculated on each request, because the DiskCache pluging is commercial, but we enable it on all the websites we develop.
Jeroen
Thank you very much,
I missed that ImageResizer was intalled.
is working on a reply...