code: public void inited() {
          if (preload) {
              try {
                  int count = 0;
                  if (templateSuffix == null) {
                      templateSuffix = new String[]{".httl"};
                  }
                  for (String suffix : templateSuffix) {
                      List<String> list = loader.list(suffix);
                      if (list == null) {
                          continue;
                      }
                      count += list.size();
                      for (String name : list) {
                          try {
                              if (logger != null && logger.isDebugEnabled()) {
                                  logger.debug("Preload the template: " + name);
                              }
                              getTemplate(name, getDefaultEncoding());
                          } catch (Exception e) {
                              if (logger != null && logger.isErrorEnabled()) {
                                  logger.error(e.getMessage(), e);
                              }
                          }
                      }
                  }
                  if (logger != null && logger.isInfoEnabled()) {
                      logger.info("Preload " + count + " templates from directory " + (templateDirectory == null ? "/" : templateDirectory) + " with suffix " + Arrays.toString(templateSuffix));
                  }
              } catch (Exception e) {
                  if (logger != null && logger.isErrorEnabled()) {
                      logger.error(e.getMessage(), e);
                  }
              }
          }
      }
docs: On all inited.