Rework hktang's change to always clear caches on node save.

Closes #3494694

Merge request reports

Loading