Every method appends a hash-value to a name of the processed image. For example, your original image name may be ai_generated_art.jpg , but the processed image always has an additional suffix: ai_generated_art-1361197836.jpg
But the file names generated by the crop method only have the hash value as name. This makes life a little bit tricky. Is there a chance to get the name as a result from the API Service, then I could rename it on my own?
Is there any guideline when to delete the cached images from that folder? Is that anyhow recommended, as this folder should not be manipulated? Because a copy of each file is only redundant storage.
Currently images from that folder never will be deleted.
You can cleanup that folder whenever you think it is appropriate. But you should keep in mind that in this case service will be forced to regenerate cache entry for the image during the first request and this generation can take some time.