loading...

If I remove an image from my article, does Dev.to remove it from the servers?

github logo ・1 min read

When I upload an image to my post and then remove it, the image seems to still be on Dev.to AWS servers.

  1. Does Dev.to remove it at some point?
  2. If yes, how does it do?
  3. If no, what is the cost of keeping all the uploaded images on the servers?
twitter logo DISCUSS (4)
markdown guide
 

I imagine that there's a "timeout", and after certain time of the image being unused gets deleted... but I don't know, and I would like to know it 🤔

 

But, with this way of doing, posts are not seen for a duration X would see all their images deleted...

 

I mean like, there isn't any link pointing to the image... then the timer start to run (?

I see what you mean. This is the only solution I see but I would like to know how it is implemented. Do they run a CRON job to check if each image is included in some post?

Classic DEV Post from May 4 '19

The secret that the fonts industry doesn't want you to know

Finally the story of CSS's most unsung hero

Lucas Willems profile image

dev.to now has dark theme. 🌝

Go to the "misc" section of your settings and select night theme

P.S. It's also the best place to talk code amongst thoughtful developers, and it's totally open source.