Cache clearing programmatically

hello Ionic Comunity,

We have requirement of clearing the Cache of our particular App.I Have tried /cordova-plugin-cache-clear this plugin but cache hasn’t been cleared.
And I Have also tried of clearing the Cache by using vanilla javascript. it has been also failed

Dear Community,
Kindly suggest a approach for clearing the cache of ionic app programmatically


we will be waiting for your responses

Thank You,