XAP supports client-side caching of Space data within the client application's JVM. When using client-side caching, the user essentially uses a two-layer cache architecture: The first layer is stored locally, within the client's JVM, and the second layer is stored within the remote master Space. The remote master Space may be used with any of the supported deployment topologies.
The following caching options are available:
- Local Cache - A local cache allows the client application to cache recently used data at the client memory address, and have it updated automatically by the Space when that data changes.
- Local View - A Local View allows the client application to cache specific data based on client's criteria at the client memory address, and have it updated automatically by the Space when that data changes.
For a detailed description of the different caching scenarios, refer to Caching Scenarios in the Product Overview.