kevlened 19 hours ago

It's not mentioned, but important to note, that R2 lacks object versioning.

https://community.cloudflare.com/t/r2-object-versioning-and-...

2
yawnxyz 19 hours ago

I built a thin Cloudflare workers script for object versioning and it works great

jw1224 18 hours ago

Is this something you’d consider sharing? I know many of us would find it really useful!

yawnxyz 7 hours ago

sure! I'll clean it up a bit and show it on HN. For some reason I figure Cloudflare would have built that by now?!

UltraSane 19 hours ago

Ouch. Object versioning is one of the best features of object storage. It provides excellent protection from malware and human error. My company makes extensive use of versioning and Object Lock for protection from malware and data retention purposes.

CharlesW 15 hours ago

As @yawnxyz mentioned, versioning is straightforward to do via Workers (untested sample: https://gist.github.com/CharlesWiltgen/84ab145ceda1a972422a8...), and you can also configure things so any deletes and other modifications must happen through Workers.

UltraSane 14 hours ago

Interesting, thanks!