How to have a synchronous cache?
A good practice would be to store only the
@id of the resource in the mixins, and to fetch the resource with the store wrapper when we call
this.resource in mixins.
As the getters can't be asynchronous, it would only be possible if the cache is synchronous. How can we do that?