What storage to use?
I store JSON config per host inside KV. It has a 60-sec delay before being available globally (that's not a problem for regular usage). But I also want to add preview mode where the JSON value stored inside KV is available quickly.
I can store that value when the KV is set also to DO, R2, or D1. I only require the "live" value when someone wants to preview. It doesn't have to be fast and will only be used directly after the value is set to preview if things are working as expected. Which storage is the most recommended option for such a use case? I was thinking D1...
2 Replies