// if(base.isCacheable()){
template = (PreparedTemplate) base
.getProperty(COMPILED_TEMPLATE_PROPERTY);
// }
if (null == template) {
HtmlCompiler compiler = new HtmlCompiler();
InputStream resourceAsStream = base.getResourceAsStream(context);
if (null != resourceAsStream) {
template = compiler.compile(resourceAsStream, base.getKey());
base.setProperty(COMPILED_TEMPLATE_PROPERTY, template);
resourceAsStream.close();
} else {
throw new IOException("CSS Template "+base.getKey()+" not found");
}