cdm/src/main/java/ucar/nc2/util/DiskCache.java
static private String makeCachePath(String fileLocation) {
    Escaper urlPathEscaper = UrlEscapers.urlPathSegmentEscaper();

    fileLocation = fileLocation.replace('\\', '/');  // LOOK - use better normalization code  eg Spring StringUtils
    String cachePath = urlPathEscaper.escape(fileLocation);

    return root + cachePath;
  }
static private String makeCachePath(String fileLocation) {
    Escaper urlPathEscaper = UrlEscapers.urlPathSegmentEscaper();

    fileLocation = fileLocation.replace('\\', '/');  // LOOK - use better normalization code  eg Spring StringUtils
    String cachePath = urlPathEscaper.escape(fileLocation);

    return root + cachePath;
  }
Make the cache filename

@param fileLocation normal file location
@return cache filename