private void cacheResult(@NotNull URL url, byte @NotNull [] data) {
    File folder = getCacheFolder();
    if (!folder.exists() && !folder.mkdirs()) {
      LOG.warn("Couldn't create " + folder);
      return;
    }
    File file = new File(folder, generateFileName());
    try {
      Files.write(file.toPath(), data);
      myCache.put(url, file);
    }
    catch (IOException e) {
      LOG.warn("Error writing to " + file, e);
    }
  }
private void cacheResult(@NotNull URL url, byte @NotNull [] data)