0099's avatar
Level 1

How to deal with temporary images?

For example user uploads avatar and leaves a page. Is it a better approach to detect refresh/leaving page or run cron job to delete a temporary avatar? I had a problem with detecting page refresh in vuejs so don't know how to solve this.

Thanks!

0 likes
0 replies

Please or to participate in this conversation.