• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Compression

Note

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 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.

View Details Compression

  • This opens up the detailed configuration page for the cache.

  • In the Overview tab, click on the Edit Cache Settings Overview NCache Web button.

  • Check the Enable Compression checkbox to enable compression.

  • Change the Threshold size as per your requirement.

    Enable Compression Web

  • Click on Save Cache Settings Overview NCache Web 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"/>

See Also

Cache Startup Loader
Register Classes for Compact Serialization
Email Notifications
Map​Reduce

Back to top Copyright © 2017 Alachisoft