The settings are reading/writing to Cloudflare via API, so it doesn't matter... just be aware that if your dev site is on the same domain/zone (like in a directory or subdomain), any Cloudflare changes to make will also apply to the main site (they are zone/domain settings in Cloudflare).Could I however keep the addon enabled on the dev site with the same api? Or is it advised to duplicate the settings with a different api?
Cloudflare said:Thanks for the report. We are escalating the issue
...and it looks like they have resolved it.Also... I brought it to Cloudflare's attention:
Indeed it has. Quick....and it looks like they have resolved it.
Well like I said... Cloudflare settings are per domain/zone. Using the addon to adjust them doesn't somehow magically make them per subdomain. They are literally just making changes as you would in the Cloudflare dashboard.It's the same server, just a different cpanel account under a subdomain. So that would reflect changes to the live website. Our main issue is that we want to enable HTTP2 and the website is still served under HTTP1.1 even though our VPS settings are HTTP2. Hence why I thought enabling these settings would reflect that and prioritize HTTP2.
This would be amazing, as it would offer significant speed enhancements. While most users are using CF free plan, there is also a significant subset of users who are using the Pro plan, as the only $20 a month plan unlocks a mass of valuable features, including features that increase site speed and security. Most people I know use the pro plan.He did turn me on to a different way to do short periods of read access to R2 objects that would ultimately be on your own domain (and then also be able to use HTTP/2 or HTTP/3), but it wouldn't work for zones on Free plans, so I'm thinking it's probably not worth the effort to code it if we can't do it for what I assume is a large subset of users.
That wouldn’t have anything to do with this addon. 520 means your origin web server is returning something erroneous. Typically caused by a misconfiguration of your web server. You’ll want to contact Cloudflare support so they can help you track down what it is exactly.Hey @digitalpoint
We've been having some CF 520's lately. We tried to find a solution but haven't been successful so far. The forum is serving HTTP1.1 even though the server is set on HTTP2 and prioritizes this too. Are we overlooking something ? Nothing is found in error logs.
Thanks in advance.
HTTP/2 is not going to be a measurable speed (or security) increase for this particular thing, unless I’m missing something (feel free to educate me).This would be amazing, as it would offer significant speed enhancements. While most users are using CF free plan, there is also a significant subset of users who are using the Pro plan, as the only $20 a month plan unlocks a mass of valuable features, including features that increase site speed and security. Most people I know use the pro plan.
I also think that this feature would be very appealing to WordPress users and having it in the WP version of this addon would significantly increase popularity. Because site speed is so important these days. And this feature would be a game changer for site speed.
Actually, I stand corrected... one area I can think of where speed would be measurably better would be if a page was displaying more than 6 attachments at once (the full attachment, not just previews). Since most browsers by default limit themselves to 6 concurrent connections to the same host, you are limited to 6 concurrent HTTP requests for presigned URLs. So in that case, multiplexing in HTTP/2 (and higher) would work well.HTTP/2 is not going to be a measurable speed (or security) increase for this particular thing, unless I’m missing something (feel free to educate me).
The speed benefit of HTTP/2 will be significant. Without it, the benefits offered by presigned URL's will be more than undone by not having HTTP/2 HTTP/3 if there are more than a few attachments.Still on the fence about it though... It's not an insignificant amount of work and would introduce some added complexity and issues:
This is the case with many of the CF features supported by your addon.I don't particularly love the idea of introducing a feature/function that is going to result in users being presented with a message saying, "You can't use this unless you pay Cloudflare more money and upgrade your plan."
Yes, that would become a waste around the year 2035. I'm still waiting for high value suggestions I and others requested to CF in 2018.The development time more or less becomes a waste whenever Cloudflare introduces HTTP/2 and/or HTTP/3 to the presigned URL hosts.
Are you sure? Even the R2 stuff works fine on a Free plan. Maybe I'm misremembering, but I can't think of any feature of this addon that requires a user to be on any paid tier for it to work.This is the case with many of the CF features supported by your addon.
Anything I've used in the free tier has worked with no issues, including R2, Workers, and Zero Trust.Are you sure? Even the R2 stuff works fine on a Free plan. Maybe I'm misremembering, but I can't think of any feature of this addon that requires a user to be on any paid tier for it to work.
Same goes for me, the add-on has been great along with the support and updates. Thanks again @digitalpoint .Anything I've used in the free tier has worked with no issues, including R2, Workers, and Zero Trust.
Off the top of my head, features like Polish, Webp, AMP, Mirage, Image resizing are only available for Pro users. There probably are other Pro features for which the addon provides settings. IIRC some analytics as well.Are you sure? Even the R2 stuff works fine on a Free plan. Maybe I'm misremembering, but I can't think of any feature of this addon that requires a user to be on any paid tier for it to work.
Right, but those are Cloudflare features and nothing that this addon does anything with. There is no code to utilize any of those features in this addon. The addon of course doesn't prevent you from controlling Cloudflare settings, but using those settings isn't something it does (for example this addon doesn't do anything to utilize image resizing which may or may not be available to your Cloudflare plan).Off the top of my head, features like Polish, AMP, Mirage, Image resizing are only available for Pro users. There probably are other Pro features for which the addon provides settings. IIRC some analytics as well.
Our Plans | Pricing
Discover which Cloudflare plan is correct for your requirements. Find out more about Cloudflare plan pricing and sign up for Cloudflare here!www.cloudflare.com
Again, we are talking about different things here... There isn't a Cloudflare setting to do what you are talking about. It would require backend code as well as presenting configuration pages to configure it. So we are talking about having something along the lines of the Edge Caching page/configuration but then it not working because they are on the wrong Cloudflare plan.I don't think its disruptive to have support for Pro features in the addon. The settings simply have no effect for Free users.
/internal_data
, I have a growing directory page_cache
that I presume is for the image proxy.xfmg
directory to the R2 bucket, so is it safe to say that if I move the page_cache
contents to R2 and configure it similarly, it could work?$config['fsAdapters']['internal-data/image-cache'] = function ()
{
return \DigitalPoint\Cloudflare\League\Flysystem\Adapter\R2::getAdapter('internal_data/image_cache', 'my-r2-bucket-idata');
}
xfmg
and it is working fine.page_cache
is. Probably a third-party addon (no reference to it in XenForo's source). image_cache
is the directory that the image proxy uses.We use essential cookies to make this site work, and optional cookies to enhance your experience.