Implement concept of grouped cache entries, so that they can be dropped together.
And use it for tags cache.
Fixes squish task#17369