Chromaniac
Well-known member
ended up turning it on and migrating data to r2. seems to be working well so far!
I’ve migrated a site over from Wasabi today as wellended up turning it on and migrating data to r2. seems to be working well so far!
cf-cache-status: DYNAMIC
. i guess would need to use a pagerule to switch it to hit
. (attachments are open to guests)Adding the page rule to cache everything allows the bypass of the file permissions through XF and PHP, so it prevents the file being streamed from the bucket, and served directly from Cloudflare cache on the edge nodesright. i was getting confused with cache control for which i use the free xenforo addon. that correctly appears as public on my board.
i am guessing cache-status does not really matter here because the file is already hosted on cloudflare and they do the location optimization automatically.
Class A Operations 1 million requests / month
Class B Operations 10 million requests / month
Is it possible to use any other server instead of AWS or Digitalocean?About this guide, is it possible to instead of AWS or Digitalocean, to use the server you're currently on with a subdomain, like cdn.youdomain.net
I meant like a linux machine or something like that.Yes. Any S3 compatible service should work like backblaze b2, Wasabi etc. At least two of us are using Cloudflare r2 with some code changes.
The main problem with R2 that it's private by default, so except using cloudflare image optimization, I guess there are not many options to optimize data upon upload (mainly images). Image compression can save 30-50% of the image size without effecting quality that much, so I'm wondering how is it possible to enjoy both worlds.B2 also has 10GB free so that's also an option if you are still under 10GB storage space.
R2 makes a lot of sense if you are already using Cloudflare for DNS and performance benefits as it handles location of data storage automatically.
On my install... I disabled oembed cache and noticed that A/B transactions fell down significantly. Not sure if it makes sense to file a feature request for a config.php option to change location of the oembed cache folder. If it is made available, it would be nice considering this data is always going to be fetched from object storage and would reduce transactions for pretty much every user?
If one of the advance user of this addon thinks that it makes sense, please post a feature request for the same. Cheers!
Which add-on?i am using an addon that compress images at the time of upload and that file gets uploaded to r2.
i am guessing image optimization addons available here that resize existing attachments would also work fine though would boost transactions and bandwidth initially.
i am not sure if Cloudflare Mirage or Polish would work on Xenforo Attachments though.
We use essential cookies to make this site work, and optional cookies to enhance your experience.