
To Empty the Disk Cacheįrom the menu bar, select Cache > Clear Disk Cache.Did you know that After Effects has a ‘secret menu’? In this post we’ll show you how to access this little known menu and modify it to fit your needs.Įven if you are a skilled After Effects veteran you might be surprised to find out that there is a secret preference menu inside of AE. You may want to do this if, for some reason, wrong images are displayed in the Viewer. If necessary, you can also empty the disk cache manually. When the disk cache becomes full, old items are automatically deleted. However, when the cache becomes full, old items are automatically deleted to make room for newer items. The disk cache is preserved when you quit Nuke so it can be used again later. If you add a DiskCache node into your script, it also uses the same directory. The Viewer caches each frame it displays in the directory specified. Once these settings are defined, the automatic caching of images is enabled. 4.Ĭlick OK to update preferences and then restart Nuke. For more information, see Environment Variables. The environment variable NUKE_DISK_CACHE_GB can be used to override this setting. The default value is 10 GB, but a larger value, such as 50 GB, can often be used. Ensure there is enough space on the disk for this to be reached. Using the comp disk cache size control, pick the maximum size the disk cache can reach. The environment variable NUKE_DISK_CACHE can be used to override this setting. Pick a local disk (for example, c:/temp), preferably with the fastest access time available. Under Caching > Disk Caching, specify where you want Nuke to cache out data to disk. Select Edit > Preferences (or press Shift+ S). You can define the settings for caching in the Preferences > Performance > Caching. This means that you can cache images from multiple nodes in the script without overwriting previously cached images.

Note that the cached images have unique names reflecting their point of output location in the script. For more information on the caching preferences, see Defining the Settings for Caching below.

In the Preferences, you can also set the maximum size you allow the disk cache to consume.

Both the automatic caching and the DiskCache node use the same cache directory defined using the Preferences dialog.
