You are here: Reference Guide > Other Nodes > DiskCache

DiskCache

DiskCache caches to disk scanlines from its input as they are requested by its output. It does this at full 32-bit floating point. This allows Nuketo reference the cached data instead of constantly recalculating the output of the preceding nodes.

By default, DiskCache caches the selected channels of the current frame at the current zoom level.

DiskCache can be useful, for example, if:

you are working on a large, complex node tree. Using the DiskCache node, you can break the node tree into smaller sections and cache any branches that you are no longer working on.

you are reading in images from a network. If you insert a DiskCache node after a Read node, the image will be cached locally and displayed faster.

you are painting or rotoscoping. If you insert a DiskCache node before a RotoPaint node, flipping frames becomes faster.

The cached images are saved in the same directory as the images the NukeViewer caches automatically. You can set the location and size of this directory in the Preferences. A large, fast local disk is DiskCache's best friend.

If you make a change in the nodes upstream, the affected cached images are discarded and automatically recalculated.