We’ve just refined pd4ml.clearCache() method to remove ALL cached objects, including harmless parsed CSS properties.

But it seems the issues with the cache reset happened only if you reuse PD4ML instance for multiple conversions (which is not recommended, in general). So I am not sure if we addressed exactly the issue you faced with

Also -Dpd4ml.cache.enable=false prevents downloaded objects from being cached. Bearing in mind the image size has been changed in the debug output, I’ve got no explanation from where the old image comes from.

Should we send you an actual development build to test the caching issues on your side?