if (content == null) {
HashMap<String, Object> parameters = new HashMap<String, Object>(2);
parameters.put("url", url);
//TODO: allow to set User the timeouts as described in: http://www.gentics.com/help/topic/com.gentics.portalnode.sdk.doc/misc/doc/reference/xhtml/ref-implementation-plugins.html#reference.implementation.plugins.viewplugin.pluggableactions.urlloaderaction
parameters.put("readTimeout", 300);
PluggableActionResponse response = PluggableActionCaller.call("URLLoaderAction", parameters);
content = (String) response.getParameter("content");
try {
cache.put(url, content);
} catch (CacheException e) {
log.error("Error putting code of " + url + " in cache");
e.printStackTrace();