Cache view only for nested state

How can I allow to cache view only for nested state of concret state?
For example:
I have this states
x.data
x.calls
x.events
x.documents
I want cache only this views, but when I leave x state and change to y cache views should be remove.