cache

Available only in PopChart Server Enterprise.

Syntax -cache cachesize

Description This setting enables PopChart Server's cache. When caching is enabled, PopChart Server stores server request strings and corresponding image in a cache. When the same request is received, PopChart Image Server Pro sends back the previously generated image.

Since image generation is the most time-consuming process for PopChart Server, caching can tremendously increase the speed with which PopChart Server serves images, especially if it receives many requests for the same image.

The -cache setting should be followed by a number, indicating the number of images that should be stored in the cache. For example, -cache 100 allocates space for up to 100 images.

The cache size can be as large as you desire. However, keep in mind that the cache uses RAM and not disk space. Thus, if you keep a very large cache, you will need a lot of RAM. Cache sizes between 100 to 1000 images are typical.