This feature is only available in NCache Enterprise Edition.
By default, cache is created with compression disabled. However, compression can be enabled as follows:
Using NCache Web Manager
Launch NCache Web Manager by browsing to
<server-ip>:8251(Windows + Linux).
In the left navigation bar, click on Clustered Caches or Local Caches, based on the cache server to start. Against the cache name, click on View Details.
This opens up the detailed configuration page for the cache.
In the Overview tab, click on the button.
Check the Enable Compression checkbox to enable compression.
Change the Threshold size as per your requirement.
Click on to save the cache configuration.
Manually Editing Configuration
You can enable/disable data compression option for a cache through config.ncconf as follows:
<compression enabled="true" threshold="500kb"/>