No while experimenting with a pdf generation tool, I noticed that my CSS links are not refreshed. The content of the seperate CSS file is being cached.
Only when I add:
does it refresh.
PD4ML does not test if a particular resource (image or stylesheet) has been changed: if it has a cached version – it uses it.
You may explicitly disable caching with pd4ml.cache.enable=false environment variable, or with a dynamic parameter.
[language=java:2wg7x71d]Map m = new HashMap();
We’ve just refined clearCache() method in the development build, but as I got it worked for you before.
Another workaround would be to add a harmless dynamically generated parameter to the stylesheet reference:
It should distinguish a new stylesheet from ones loaded before. As a drawback of the approach it will accumulate stylesheet versions in the cache. It is not that dramatic, as they are cached as soft references, but anyway it is a good idea to perform clearCache() from time to time.
Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘HTML/CSS rendering issues’ is closed to new topics and replies.