invalidate

open suspend override fun invalidate(template: String)

Removes any entries whose key contains |template| as a substring, plus the literal key match if present. template should be the resolved (placeholder-substituted) form (e.g. users/42, not users/{id}). Callers are responsible for the substitution.