Data Compression
By default, the cache is created with data compression disabled. However, compression can be enabled as follows:
Data Compression Using the Management Center
Launch the NCache Management Center by browsing to http://localhost:8251 or
<server-ip>:8251
on Windows and 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 the data compression option for a cache through config.ncconf as follows:
<compression enabled="true" threshold="500kb"/>
See Also
Cache Startup Loader
Register Classes for Compact Serialization
Email Notifications