Open ViliusLuneckas opened 5 years ago
The kind of caching implemented here is not attributes caching but fragment caching, as the main bottleneck usually is generating the actual json. Attributes caching is quite easy to implement and could be a distinct feature.
This change unifies the output type of
SimpleResourcesProcessor
andCachedResourcesProcessor
.Before:
After:
That's very important if you need to amend/personalize output of the
JSONAPI::Serializable::Renderer
.