Rewrite caching logic (again)

Adds proper invalidation on the central site

Change-Id: Ib839c5634e3469da25b02ca9ece76b306e064580