Sometimes when Nuke's caching gets super slow it might be caused by a sneaky Viewer node hiding somewhere inside a Group, slowing everything down. This script quickly gets rid of them and only leaves those in the "main" Node Graph.
Get it from my 🦑 GitHub