The cache regeneration can take a long time, and as it's done at the very end of the file, users don't get further updates about it--it just looks like a hang.   best to eliminate.

the main change here was renaming the invalidation function, which invalidates not just topic pages, but video page and related exercise pages.