WIP: Cache invalidation by entity.

#6043 
WIP
Never mind. Just change to bundle.