big things like that usually go in background jobs in my apps. For example, PrivateLog will still have some of your data when you quit but will be fully erased after 24 hours, etc.