Elia
CDCloudflare Developers
•Created by Elia on 5/7/2024 in #workers-help
Different Hyperdrive Config for Staging & Production
Couldn't really find resources on it, how to have different Hyperdrive IDs for staging / production?
[[hyperdrive.staging]] & then deploy via --env staging?
2 replies
CDCloudflare Developers
•Created by Elia on 4/13/2024 in #general-help
Different content based on URL in R2
Currently, when publicly accessing bucket items via R2, there's different behaviour based on how I access the file:
1)
https://our.domain/path/to/our/file.avif
-> returns an old version of the file
2) http://our.domain/path/to/our/file.avif
-> returns the newest version of the file
2) https://our.domain/path%2Fto%2Four%2Ffile.avif
-> returns the newest version of the file
The flow we work with that is, we 1) upload an asset & then 2) replace it with a post-processed version later - I assume the CDN caching is resulting in the regular https url returning the old content?1 replies