Ridemonkey
Well-known member
It can, but you would need to enable it (installing addon doesn’t make it happen just from installing). R2 can be used for data and/or internal_data folders, keeping permission checking intact.
Thanks, I've done a little more digging into the settings now.
So if I wanted to have minimal disruption to the live forum, I can stage the data using
rclone
by just doing a raw copy of the relevant data (e.g. /data/
or /internal_data/attachments
) to an R2 bucket before enabling the setting. This will result in XF retrieving the files on behalf of the user from the R2 bucket, up until I enable the presigned URLs option at which point the users will grab the attachments directly from Cloudflare.Does this have an effect on SEO/search engine results? It would seem to me like, if the search engine grabs a presigned URL during indexing (i.e. an attachment that is publicly viewable), the media link will not be relevant to hand out during, say, a Google Image search. Is this a reasonable concern or is there something I'm overlooking?
Edit: this also seems to result in some slightly weird user experiences - like a user can load a page, but then be unable to open an image in a new tab because the link expired. Hm. I understand why this is, just thinking about the tradeoffs.
Really appreciate the amount that you contribute from your own development work. I bought your Wordpress plugin and would happily pay for this one if it actually cost money!