reducing complexity of cached view invalidations