Clearing Cache

I am new to ionic development. I have successfully developed an app using ionic v4 and installed on an android phone. The app works well talking to a web Api on azure until the app cache gets to about 30mb then it either becomes very slow or stops working altogether.

Please is there any way that I can delete the app cache automatically using code. Any solution would be appreciation.