How to force to delete cache via code?

Hi all,

I’m having problems with cached data from server displayed on pages. When I change the data on server and I try to request it from the app, sometimes it fails because the app is still showing the old information (for example, images that has the same name then and now). If I go to android settings and clear the cache on the app my problem is solved.

Is there a way to clear that cached content via code? I can’t allow that problems of the devices of my users.

Regards and thanks!