Generate the cache_version after each cache invalidation
Add a cache invalidation view
Update test for cache_version