There is a couple of approaches to disable caching.

1. Set an environment variable (add the following to JVM command line):

( the same from Java/JSP code if JVM security policy allows: System.setProperty(“pd4ml.cache.enable”,”false”) )

or via PD4ML API call:

[language=java:1kphbjqm]HashMap map = new HashMap();
map.put(“pd4ml.cache.enable”,”false”) ;

2. Another method is to add a random suffix to CSS URL:

(JSP sample)

String suffix = “”;
if ( debug ) {
suffix = “?dummy=” + generateRandom();

<link rel="stylesheet" type="text/css" href="xstyle.css” />[/language:1kphbjqm]