Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Will there come a time in the not too distant future where the images generated will be cached and then called in a similar way to imageGen? I'm just a little uncomfortable with slamming the processor to regenerate loads of images every time each one is called. I'm using slimsy on a low trafficed site at the moment so it's not so much of an issue, but for a high trafficed site I'd want caching.
Is there a way of doing this already?
ImageProcessor comes with server side caching, check /App_Data/cache/ to see all of the generated caches.
So if an image has been generated at a particular size, say by being viewed on a phone for the first time, is that cached image then used for the next call for that image at that size? Is this behaviour out of the box or has to be configured?
Yes, that's correct. Of course you will only have requests every 160 pixels (unless you've change Slimmage config).
This is out of the box without any config, you can add the ImageProcessor config NuGet package if you want to change any settings. Configuring cache settings is detailed here
That's great. I didn't realise it did that. :)
Yeah ImageProcessor is great! With v2 it's also very plugable, I've tried out the WebP plugin with Slimsy and it worked perfectly!
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted