Closed targos closed 3 weeks ago
Sgtm, the files synced with the AWS client won't have them though so we'll need to check at render time
I'm running full syncs with rclone
, which adds the missing mtimes
But I guess it doesn't hurt to have a fallback
I opened https://github.com/nodejs/release-cloudflare-worker/pull/169 for single files.
I'm not sure it can be done efficiently for directory listings, because ListObjectsV2Command
doesn't return the custom metadata.
Example: https://r2.nodejs.org/download/nightly/v21.0.0-nightly202307236c08b1fc02/docs/
It shows the date
04-Nov-2024 13:08
forapilinks.json
, which is the last modification date on R2.But
rclone
sets the actual modification date from the source as additional metadata: https://dash.cloudflare.com/07be8d2fbc940503ca1be344714cb0d1/r2/default/buckets/dist-prod/objects/nodejs%2Fnightly%2Fv21.0.0-nightly202307236c08b1fc02%2Fdocs%2Fapilinks.json/detailsShould we use it to display more accurate information?