https://issues.apache.org/bugzilla/show_bug.cgi?id=46048





--- Comment #29 from Jeremias Maerki <jerem...@apache.org>  2009-04-07 13:58:24 
PST ---
(In reply to comment #28)
Hi Alex,
attaching the image cache to the FOUserAgent doesn't make much sense IMO as you
cannot profit from cached images over multiple document runs. Usually, the
renderer itself already caches the image once per document. I don't think
there's a problem with cleanup, as you mention. We're using soft references: if
not enough memory is there, the images get automatically discarded. This is
well tested. Your suggestion about patterns to exclude certain URIs from
caching is an idea that could be investigated but I'm not sure it helps here. I
think it's better that we try this pre-resolution approach. I just have to find
some time and motivation to finish that.

Incidentally, the problem of the missing image that was replaced but then not
picked up by FOP has been solved a few days ago by:
http://svn.apache.org/viewvc?rev=759144&view=rev
http://svn.apache.org/viewvc?rev=759150&view=rev

Please check out XML Graphics Commons Trunk to see if your situation improves.
http://svn.apache.org/repos/asf/xmlgraphics/commons/trunk

-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to