I noticed that each time I invoke the path the image is getting created again. Please support caching such that if the image does exists just return the static image. Or Better Still default is static image directly served by webserver like any image and only if a ceratin parameter say "=create" is passed to the path it will create a new image using textimage.

Comments

deciphered’s picture

Status: Active » Postponed (maintainer needs more info)

That should not be the case, the first time you invoke the path the file will be saved as a physical file in that exact path, check your file system to confirm. If this is not happening then it is quite possible that the incorrect permissions are set.

ajayg’s picture

I noticed the file modification time changed everytime I invoked That is why I think it is getting created everytime. Since it is able to create the file in the first invocation, the file permissions should be correct. So what else I should check? I am also able to access the created file fine.

deciphered’s picture

Well if that's the case then the behavior is an issue, but unfortunately that code is now considered legacy and will not be fixed.
If you want the problem solved, download the dev build, it stores the files differently and definitely does not recreate the images each invocation.

deciphered’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)