Skip to main content

Use the cache.xml file to set up general cache facilities and behavior and to create and initialize cached data regions. These sections document cache.xml requirements; provide hierarchical diagrams of cache.xml elements; and show the specific syntax needed to accomplish typical cache configuration tasks.

Note: You can configure most elements of the cache.xml file and apply it to your entire cluster by using the gfsh and cluster configuration service. See Cluster Configuration Service Overview for more information.

  • cache.xml Quick Reference

    This section documents cache.xml file requirements and variables. It also points you to specific element sections for server, client, and WAN configuration.

  • <cache> Element Hierarchy

    This section shows the hierarchy of <cache> element sub-elements that you use to configure Geode caches and servers.

  • <cache> Element Reference

    This section documents the cache.xml sub-elements used for Geode server configuration. All elements are sub-elements of the <cache> element.

  • <client-cache> Element Hierarchy

    This section shows the hierarchy of <client-cache> element sub-elements that you use to configure Geode caches and clients.

  • <client-cache> Element Reference

    This section documents all cache.xml elements that you use to configure Geode clients. All elements are sub-elements of the <client-cache> element.