![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)

public void setEnvironment(String environment) {
        if (environment != null && !(DEVELOPMENT_ENVIRONMENT.equals(environment)
            || TEST_ENVIRONMENT.equals(environment)
            || PRODUCTION_ENVIRONMENT.equals(environment))) {
            throw new IllegalStateException(String.format("Unsupported environment: %s, only support %s/%s/%s, default is %s.",
                environment,
                DEVELOPMENT_ENVIRONMENT,
                TEST_ENVIRONMENT,
                PRODUCTION_ENVIRONMENT,
                PRODUCTION_ENVIRONMENT));
        }
        this.environment = environment;
    }
    public RegistryConfig getRegistry() {
        return CollectionUtils.isEmpty(registries) ? null : registries.get(0);
    }
    public void setRegistry(RegistryConfig registry) {
        List<RegistryConfig> registries = new ArrayList<RegistryConfig>(1);
        registries.add(registry);
        this.registries = registries;
    }
    public List<RegistryConfig> getRegistries() {
        return registries;
    }
    @SuppressWarnings({"unchecked"})
    public void setRegistries(List<? extends RegistryConfig> registries) {
        this.registries = (List<RegistryConfig>) registries;
    }
    @Parameter(excluded = true)
    public String getRegistryIds() {