CacheKey key = new CacheKey(perception.typePerception, perception.zoneid, perception.protocolVersion);
if (!cachedContent.containsKey(key)) {
logger.debug("Perception not found in cache");
ByteArrayOutputStream array = new ByteArrayOutputStream();
DeflaterOutputStream out_stream = new DeflaterOutputStream(array);
OutputSerializer serializer = new OutputSerializer(out_stream);
serializer.setProtocolVersion(perception.getProtocolVersion());
perception.computeStaticPartPerception(serializer);
out_stream.close();
byte[] content = array.toByteArray();
cachedContent.put(key, content);
} else {
logger.debug("Perception FOUND in cache");