user

fun user(userId: String, resource: String): CacheKey

A key scoped to a userId for a given resource, e.g. user:42:profile.