code: public T getTemplateFromCache(String filename) {
  
          LRUCache.CacheEntry<String, T> cachedTemplate = cache.get(filename);
  
          // this is to avoid null pointer exception in case of the layout composite template
          if (cachedTemplate == null) {
              return null;
          }
  
          return cachedTemplate.compiled;
      }
docs: Gets the compiled value from cache this is a synchronous operation since there is no blocking or I/O