docs: protected long getLastModified(Resource resource) {
          try {
              return resource.lastModified();
          } catch (IOException e) {
              this.logger.warn(
                      "Could not determine lastModified for "
                              + resource
                              + ". This resource will never be reloaded due to lastModified changing.",
                      e);
          }
  
          return 0;
      }