find_*: refactor cache variable handling
7 files changed