Refs #21630 - Migrate cache invalidation form to z3cform

- Update behaviour and documentation