Apple Shake 4 User Manual

Page 354

Advertising
background image

354

Chapter 13

Image Caching

diskCache.cacheMaxFileSize
The global plug sets the maximum file size (in bytes) that can be stored in the disk-
based component of the image cache. Greater values allow Shake to store larger
images, since each cached image is stored in a separate file. However, some file
systems have limits on both the maximum number of open files allowed and the
maximum size of those files, so you can use this parameter to reduce the size of the
files being used in the image cache if a system’s file limit is being exceeded.

diskCache.cacheLocation
The directory to which disk cache files are written. By default, the cache is written to:

/var/tmp/Shake/cache

Note: Shake automatically creates cache directories if they do not already exist.

To free up disk space, you can remove this directory, but all caching information will be
lost. This is not vital to a script, it simply forces Shake to completely rerender the
compositing tree.

Advertising