dev: more efficient cache clean policy

clean cache when app into background,  data that older than 3 days will
be cleaned