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> and <client-cache>elements; and describe the function of each element.

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 gfsh Limitations for a list of items you cannot configure in gfsh and must still configure in cache.xml.

  • 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 Tanzu GemFire caches and servers.

  • <cache> Element Reference

    This section documents the cache.xml sub-elements used for Tanzu GemFire 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 Tanzu GemFire caches and clients.

  • <client-cache> Element Reference

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

check-circle-line exclamation-circle-line close-line
Scroll to top icon