Cache

In this tab, you can configure caching settings for Proxy Server. Proxy Server has two types of cache, disk cache and memory cache. Both cache types can be configured independently.

To configure disk caching:

  1. First, select from Location which volume you want to store your cached data at. Then enter how much space you want to allocate for the cache directory in gigabytes. If you want to delete all data from the cache directory, click Clean Disk Cache.
  2. Next, determine what size files will be cached by Proxy Server. In Minimum file size for disk cache enter a value in kilobytes. Files smaller than this size will not be cached.
  3. In Maximum file size for disk cache enter another value in kilobytes. Files larger than this size will not be cached.
  4. Next, determine how often cached content will be replaced. In Cache swap floor enter another value in terms of cache space percentage. Proxy server will use this as a threshold for deleting older cache files. Please see the next step for more details.
  5. In Cache swap ceiling enter a value in terms of cache space percentage. Once cache storage reaches this percentage, Proxy Server will delete older cache files until Cache swap floor is met.
  6. Once you have finished, click Apply to save your disk cache settings.

Note:

To configure memory cache:

  1. In Cache memory size enter a value in megabytes. This value is the additional memory Proxy Server will use as a memory cache. The total usage of memory for Proxy Server is determined by: 10 * (Cache Directory size per gigabyte) + 15 + (Cache memory size). You are highly recommended to determine the memory size of your Synology NAS before setting this parameter.
  2. In Maximum file size for memory cache enter a value in kilobytes. Objects larger than this size will not be saved in memory cache.

Note: