![image](https://user-images.githubusercontent.com/54169514/199922630-ba1b1417-e124-40b1-bac7-49158e2adbca.png)

文档上ApplicationConfig的enableFileCache属性默认true，但是在Dubbo3.1版本中，该属性似乎默认为null，导致mapping和元数据无法在本地缓存。

![image](https://user-images.githubusercontent.com/54169514/199923129-c99ea29b-45c5-40d1-bc21-1fbb44830fc7.png)

appendEnvironmentProperties();
    }
    private void appendEnvironmentProperties() {
        if (parameters == null) {
            parameters = new HashMap<>();
        }
        Set<InfraAdapter> adapters = this.getExtensionLoader(InfraAdapter.class).getSupportedExtensionInstances();
        if (CollectionUtils.isNotEmpty(adapters)) {
            Map<String, String> inputParameters = new HashMap<>();
            inputParameters.put(APPLICATION_KEY, getName());
            inputParameters.put(HOST_KEY, getHostname());
            for (InfraAdapter adapter : adapters) {
                Map<String, String> extraParameters = adapter.getExtraAttributes(inputParameters);
                if (CollectionUtils.isNotEmptyMap(extraParameters)) {
                    extraParameters.forEach((key, value) -> {
                        for (String prefix : this.getPrefixes()) {
                            prefix += ".";
                            if (key.startsWith(prefix)) {
                                key = key.substring(prefix.length());
                            }
                            parameters.put(key, value);
                            break;
                        }
                    });
                }
            }
        }
    }
}