https://issues.apache.org/bugzilla/show_bug.cgi?id=46048
--- Comment #10 from Jeremias Maerki <[EMAIL PROTECTED]> 2008-10-21 04:35:22 PST --- (In reply to comment #9) > (In reply to comment #3) > > To put you out of you misery ;-) here's the code to clear the image cache: > > fopFactory.getImageManager().getCache().clearCache(); > > Thanks, that did also the trick! > > Is there hope to fix this issue when using custom URIResolvers? > Not the way you thought. A URIResolver returns a JAXP Source object and that can't be cached. It's not even guaranteed that the resulting Source object has a system ID. I wouldn't even know where to start to approach this the way you explained. If there's anything that can be improved then it's either looking at Vincent's proposal about checking the last modified date for file URLs (which would only solve this special case) or bypassing caching for certain URIs as I suggested. The URIResolvers are completely irrelevant for image caching, they just provide access to the actual resource when given a URI. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.