Bug 20407 - [PATCH] Configure image caching using the configuration file
Summary: [PATCH] Configure image caching using the configuration file
Status: NEW
Alias: None
Product: Fop - Now in Jira
Classification: Unclassified
Component: general (show other bugs)
Version: all
Hardware: All All
: P2 enhancement
Target Milestone: ---
Assignee: fop-dev
Depends on:
Reported: 2003-06-02 08:24 UTC by Mirko Sertic
Modified: 2012-04-11 03:20 UTC (History)
0 users

Patched files (8.40 KB, application/octet-stream)
2003-06-02 08:24 UTC, Mirko Sertic

Note You need to log in before you can comment on or make changes to this bug.
Description Mirko Sertic 2003-06-02 08:24:18 UTC
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.
Comment 1 Mirko Sertic 2003-06-02 08:24:53 UTC
Created attachment 6593 [details]
Patched files
Comment 2 Tino Schwarze 2005-04-05 18:32:37 UTC
See bug #34308 for a similar solution (it also improves image caching).
Comment 3 Glenn Adams 2012-04-11 03:20:55 UTC
increase priority for bugs with a patch