Current implementation only use local cache. it would be better to abstract cache interface and let user to implement their own cache.
for example, if user want to use redis cluster for cache, then by implementing Cache trait, user should be able to use their redis cluster as cache.
I think It would be better to provide Cache trait and only s2core use common cache trait so user can override local cache if they want to use different cache solution.
Current implementation only use local cache. it would be better to abstract cache interface and let user to implement their own cache.
for example, if user want to use redis cluster for cache, then by implementing Cache trait, user should be able to use their redis cluster as cache.
I think It would be better to provide Cache trait and only s2core use common cache trait so user can override local cache if they want to use different cache solution.