cloudflare / Stout

A reliable static website deploy tool
MIT License
752 stars 29 forks source link

What strategies are you using to rollback images? #44

Open joshkpeterson opened 7 years ago

joshkpeterson commented 7 years ago

I appreciate that the documentation is up front about this versioning limitation. But how are you dealing with rollbacks where there are different versions of images?

The simplest thing I can think of is to always add a version number to a new file's name. E.g. "logo.png" -> "logo-v2.png" -> "logo-v3.png"

This is a slight annoyance because html must be changed when an image is swapped out, but it works.

Is there a better trick?