k.setKeyScope(ChannelCacheKey.SYSTEM_KEY_SCOPE);
sbKey.append(systemCacheId);
} else {
k.setKeyScope(ChannelCacheKey.INSTANCE_KEY_SCOPE);
}
<BUG>sbKey.append("userId:").append(staticData.getPerson().getID()).append(", ");
if(xslUriForKey == null) {</BUG>
try {
String sslUri = ResourceLoader.getResourceAsURLString(this.getClass(), sslLocation);
xslUriForKey=XSLT.getStylesheetURI(sslUri, runtimeData.getBrowserInfo());

k.setKeyScope(ChannelCacheKey.SYSTEM_KEY_SCOPE);
sbKey.append(systemCacheId);
} else {
k.setKeyScope(ChannelCacheKey.INSTANCE_KEY_SCOPE);
}
sbKey.append("userId:").append(staticData.getPerson().getID()).append(", ");
sbKey.append("authenticated:").append(staticData.getPerson().getSecurityContext().isAuthenticated()).append(", ");
if(xslUriForKey == null) {
try {
String sslUri = ResourceLoader.getResourceAsURLString(this.getClass(), sslLocation);
xslUriForKey=XSLT.getStylesheetURI(sslUri, runtimeData.getBrowserInfo());
