How to cancel the cache when the $ionicGoBack of ionic goes back?

  node.js, question

The page back of ionicgoback will have a caching effect and the data will not be refreshed when the page back to the home page. This caching design is good, but now there is a requirement to refresh the data when the page back triggers ionicGoBack.

Disable ionic cache
$ionicConfigProvider.views.maxCache(0); //global disable
< ion-viewcache-view = “false” > </ion-view >//local page disabled
Individuals tend to disable globally, while disabling local pages does not always work. I do not know why. Moreover, I feel that the cache of ionic is not easy to use, so I suggest not to use it.