Use batch mode to improve external caching performance by combining multiple requests for cached repository item data into a single request. If you enable batch mode for external caching, your application will keep track of the repository items it retrieves from the external cache for each URL request. When the application handles the same URL request again, it determines whether all of the repository items are in the local cache. If some or all of the items are not available from the local cache, the application requests all of the missing items from the external cache in a single batch.

Using batch mode for external caching will improve performance if the external cache contains more data than the local cache in the Java Virtual Machine (JVM) can store. It may not improve performance if most of the externally cached data will fit in the local cache.

If the repository items that are required by a URL request may vary based on POST arguments or other factors, batch mode for external caching may not improve performance.
