App for Cloudflare® Pro

App for Cloudflare® Pro 1.9.2

  • Item seller Item seller Shawn
  • Featured

Token, Turnstile, Rules, etc.

gravnetic

New member
My first time setting this up, I am super stoked!
Very helpful in every way! Here are my notes for features I wish the plugin had. Please take all this as features I would like, not bugs or whatever.

API Token: Why is your token wanting access to my billing (read only)?

Copy Zone: Does this effect the DNS records?

Turnstile Widget: Creation of the turnstile used my site title. I would prefer to use my domain as the Turnstile Widget name in Cloudflare. I get a bit crazy with site titles sometimes for SEO.

Create Admin Access Policy
Is it possible to create a rule that allows anyone with a email of the account. For example I create all my clients cloudflare accounts. I add them as super admin. If I could create a rule that included all emails with the @domains.tld of CF Account users that would be slick!

Copy From: Does this effect dns records at all or it only settings???
Copy Cloudflare settings: This allows you to copy settings from a different Cloudflare zone to this zone.

R2 Storage
Migrate Media to R2 info

An option to duplicate local media to R2 is appealing. I did not migrate my media so I am not sure that this is not what is happening...maybe language to describe if media uploaded after enabled and previous media still exists on the local server wp-content folder.

Create R2 cache rule
Create a Cloudflare Cache Rule for the public subdomain that is optimized for WordPress.
This option is only available when you configure R2 storage, but not after. So if I chose not to create the cache rule, but then decided I wanted it after I migrated to R2 that is not an option.

Replace Media Cache Issues
I run into a cache issue when I use Replace Media. This is an option with a few plugins, but it basically allows users to replace a PDF, image, etc with an updated file without creating a new asset in the CMS.

Purge Cache
Add a custom meta field so I can rename 'Purge Cache' to 'Clear Cache' or even just 'Cache'. Clearing the cache actually scares the crap out of users, I have found. They think they are going to break their site. I like to label it 'Update Cache' which sounds friendlier to them.

How does Purge Cache effect my Varnish object cache? Is there a way to include this, the Super Clouflare plugin has an option to include many third party cache plugins and it appears to self-identify which are installed.
 
My first time setting this up, I am super stoked!
Very helpful in every way! Here are my notes for features I wish the plugin had. Please take all this as features I would like, not bugs or whatever.

API Token: Why is your token wanting access to my billing (read only)?
From: https://appforcf.com/threads/permissions-needed-for-app-for-cloudflare®.3/

Account.Billing: Read
This is used to determine if a zone is on a paid or free plan. When a site is using R2 for object storage, there's an additional optional setting that allows a site to use HMAC token authentication for a bucket (HMAC token authentication is not available on Cloudflare free plans), so the option to enable it is only presented to a site that is not on a free plan.

Copy Zone: Does this effect the DNS records?
It does not, it's only the main zone settings. (Imagine if that was a thing and people clicked and wiped out their DNS records... heh)

Turnstile Widget: Creation of the turnstile used my site title. I would prefer to use my domain as the Turnstile Widget name in Cloudflare. I get a bit crazy with site titles sometimes for SEO.
The widget name is informational, and only viewable in the Cloudflare dashboard. You can also edit the name to anything you want without issue with the "Edit" option on any widget:


Create Admin Access Policy
Is it possible to create a rule that allows anyone with a email of the account. For example I create all my clients cloudflare accounts. I add them as super admin. If I could create a rule that included all emails with the @domains.tld of CF Account users that would be slick!
Would you really want that? You would be granting users access to your WordPress admin area who aren't actually admins on your WordPress installation. Imagine Cloudflare account with a zillion zones as well as a zillion users within Cloudflare... would you really want to be granting everyone access to every WordPress admin area across all zones?

Maybe I'm not understanding exactly, but logically it seems like the way it works now (where WordPress admins are granted access to that specific WordPress site they are an admin on).

Copy From: Does this effect dns records at all or it only settings???
Copy Cloudflare settings: This allows you to copy settings from a different Cloudflare zone to this zone.
See above (I assume you are talking about the same thing as "Copy Zone")?

R2 Storage
Migrate Media to R2 info

An option to duplicate local media to R2 is appealing. I did not migrate my media so I am not sure that this is not what is happening...maybe language to describe if media uploaded after enabled and previous media still exists on the local server wp-content folder.
Media items are individually flagged as being in R2 or not. You can move individual items after someone sets up R2 my clicking on the item (there's an option to move it to R2 or from R2 back to local) if someone didn't want to move everything with the mass migration tool.

There's an orange cloud for to give a quick visual if a media item is in R2 or not. You can also click on any items to get extra info (if it's in R2, what type of R2 bucket it's in, etc.)

Create R2 cache rule
Create a Cloudflare Cache Rule for the public subdomain that is optimized for WordPress.
This option is only available when you configure R2 storage, but not after. So if I chose not to create the cache rule, but then decided I wanted it after I migrated to R2 that is not an option.
What kind of cache rule are you looking for that's optimized for WordPress? On the Rules page (under Cache Rules), there is already an option to create a cache rule for static content. But not sure what else someone would really want beyond that...

Replace Media Cache Issues
I run into a cache issue when I use Replace Media. This is an option with a few plugins, but it basically allows users to replace a PDF, image, etc with an updated file without creating a new asset in the CMS.
Where are you seeing "Replace Media" exactly? I poked around everywhere I can think of, and I don't see any "Replace Media" option in WordPress. If it's a third-party plugin, they should probably be calling cache purge hooks made available to them. However... that's only going to purge cache for *new* users seeing the media. It's not going to remove cached items from user's browsers that have already seen it. There's really not a great way to handle that scenario without completely revamping how WordPress presents media and using a cache-breaking URL for them (that's really something that would need to come from WordPress core).

Purge Cache
Add a custom meta field so I can rename 'Purge Cache' to 'Clear Cache' or even just 'Cache'. Clearing the cache actually scares the crap out of users, I have found. They think they are going to break their site. I like to label it 'Update Cache' which sounds friendlier to them.
Except you aren't actually updating the cache, you are purging it. What scenario are you wanting users to purge the cache? Normally it's all handled internally for normal use (things like editing posts)... a full cache purge is normally for developers doing things like working on templates or something.

That being said, there's certainly nothing preventing you from using WordPress' translation system... you could just translate "Purge Cache" into "Update Cache" if you really wanted to...

How does Purge Cache effect my Varnish object cache? Is there a way to include this, the Super Clouflare plugin has an option to include many third party cache plugins and it appears to self-identify which are installed.
Well, an object cache wouldn't need to be purged, but if you mean a page cache, you may want to benchmark with and without it... I've yet to seen a case where a cache for a cache makes things faster (only slower because you are doing more to generate pages now).

That being said, it also wouldn't be terribly difficult to trigger a third-party plugin's purge action if they make it available. What plugin are you using?
 
Back
Top