Tag Archives: ionic clear cache not working

Ionic Clear Cache And History


Ionic Clear Cache And History: Cache improves system performance but it is also important to delete the cache time to time and create new cache to update the data. Here we are going to explain the syntax to clear the cache in ionic application.


Ionic Clear Cache And History

Here is syntax to delete cache in ionic application-

Ionic Clear Cache And History

$timeout(function() {
    $ionicHistory.clearCache();
    $ionicHistory.clearHistory();
});