code: private boolean skipResource(HttpServletRequest request, HttpServletResponse response) {
          String path = request.getServletPath();
          if (path.contains(".")) {
              path = path.substring(0, path.lastIndexOf("."));
          }
          boolean skip = path.startsWith(FACES_RESOURCES) || shouldIgnoreResource(path) || response.getStatus() == HttpServletResponse.SC_INTERNAL_SERVER_ERROR;
          return skip;
      }
docs: skips faces-resources, index, error or logon pages
  
  @param request
  @return true if resource must be skipped by the filter false otherwise