Applied clearing of cache on app exit.