code: public void clearCache() {
  		for (URL url : getURLs()) {
  			try {
  				URLConnection connection = url.openConnection();
  				if (connection instanceof JarURLConnection) {
  					clearCache(connection);
  				}
  			}
  			catch (IOException ex) {
  				// Ignore
  			}
  		}
  
  	}
docs: Clear URL caches.