@Override
    public boolean shouldCachePath(String path, @Nullable String query, Route route) {
        // We assume that if a file cache is enabled, the number of paths is also finite.
        return cache != null;
    }
Returns a new {@link FileServiceBuilder} with the specified {@link HttpVfs}.
core/src/main/java/com/linecorp/armeria/server/file/FileService.java