DEV Community

Discussion on: Manage your dev.to blog posts from a GIT repo and use continuous deployment to auto publish/update them

Collapse
 
gabbersepp profile image
Josef Biehler

Hey, I have one question regarding images that are used in posts. I have updated the image in section "2. Create a dev.to token". The PR already got merged. But the old image is still visible. I checked it in IE, too. As I never use IE, this browser can not have cached it.
So someone else must cache the image. I already stumbled across this problem when updating a cover image a few times. I had to rename it in order to see the changed image.
Do you know how this can be solved?

Collapse
 
maxime1992 profile image
Maxime

Hi Josef. Interesting. Can you please create an issue here github.com/maxime1992/dev-to-git ?

I think I've got an idea how we could fix this.

We could attach a param in the URL with the commit hash for ex that'd bust the cache :)

Collapse
 
gabbersepp profile image
Josef Biehler

[x] done

Maybe I try a fix if I find some time