Start here. This is the direct spoken answer to practice first.
Why this question matters
Cache invalidation often starts as a simple broadcast. The design needs to match whether missed messages are harmless or dangerous.
Redis pub/sub is useful for lightweight, best-effort broadcasts to currently connected subscribers. If a subscriber is down, it can miss the message. A durable queue or topic is better when every subscriber must eventually process the invalidation or refresh event, because it can persist messages, retry delivery, and dead-letter failures.