Cache is {{datasource.cache.isEnabled ? 'enabled' : 'disabled'}} [toggle]

*{{item.content}}*

All you need to start working with this cache is datasource.cache.initialize() in your datasource controller/service code.

Base data retrieving method datasource.get() has not to be changed. We don't touch its implementation. Nothing changes.

You may disable/enable cache via datasource.cache.isEnabled property. Toggle-link demonstrates this ability.