Image caching should be made configurable using the config file. Coding the FopImageFactory.resetCache() is not a good way controlling the cache. This patch includes a config.xml file with a new boolean key value called "cacheImages" , an improved Configuration.java, providing the isImageCacheEnabled method, and a patched FopImageFactory, that handles image caching if isImageCacheEnabled is set to true.
Created attachment 6593 [details] Patched files
See bug #34308 for a similar solution (it also improves image caching).
increase priority for bugs with a patch