That's not entirely effective TBH. Because the amount of temporary cache data isn't entirely relevant. I would say if the app does that, you'll have to have the app opened while checking to find out, but when you close it out, it'll take up less of your RAM since its not active.
Sent from my iPhone using Tapatalk 