DEV Community

Discussion on: How dev.to dynamically generates social images

Collapse
 
ben profile image
Ben Halpern

Isn't the cache-busting bot a primitive way of doing the "cleaning", are there any alternatives to that?

I'm not totally sure I understand the question. Perhaps you could rephrase? To my knowledge this is the best way to go about it. Twitter associates the image with the URL which cannot be changed after it gets tweeted out. For updating future tweets we could tag a random hash on at the end like some do, but that wouldn't help the first part.

But maybe I'm misunderstanding.

No plans on moving away from this style immediately, but it will happen soon enough.

Collapse
 
renannobile profile image
Renan Lourençoni Nobile

That's actually what I wanted to know, thanks.

I mean, I have zero knowledge regarding cache-busting, was just asking for curiosity.