Hello,
I have question. Is it possible to disable creating cached folder with resized photos in ImageGen? I need disable creating this folder and create resized photo in memory everytime when user needs this photo.
Sorry, the purpose of ImageGen is to save your server from repeatedly making the same resized images, which take time, cpu, and memory. The ‘cached’ folders will be created.
You could specify the ?nocache=true parameter. That won’t keep the cached file from being created but it will tell ImageGen to ignore any previously cached images and always resize the request as though it hadn’t been done before.
You can also delete the ‘cached’ folder(s) periodically. ImageGen will created new ones as needed when new requests come in.
Thanks Douglas for response. I have more than 15k photos on my Umbraco and when I turn on ImageGen caching then photos size is more than 3GB. Without ImageGen photos size is about 1GB - this is the reason why I don't want cache photos. I found solution to not caching photos if size is less or the same as original. This should resolve my problem because my original photos have similar size.
Disable generate cached folder in imagegen
Hello, I have question. Is it possible to disable creating cached folder with resized photos in ImageGen? I need disable creating this folder and create resized photo in memory everytime when user needs this photo.
Thanks, Slawek
Sorry, the purpose of ImageGen is to save your server from repeatedly making the same resized images, which take time, cpu, and memory. The ‘cached’ folders will be created.
You could specify the ?nocache=true parameter. That won’t keep the cached file from being created but it will tell ImageGen to ignore any previously cached images and always resize the request as though it hadn’t been done before.
You can also delete the ‘cached’ folder(s) periodically. ImageGen will created new ones as needed when new requests come in.
Cheers, Doug
Thanks Douglas for response. I have more than 15k photos on my Umbraco and when I turn on ImageGen caching then photos size is more than 3GB. Without ImageGen photos size is about 1GB - this is the reason why I don't want cache photos. I found solution to not caching photos if size is less or the same as original. This should resolve my problem because my original photos have similar size.
Cheers, Slawek
is working on a reply...