Search results

  1. digitalpoint

    Security Level options - what do they do?

    It’s a bit of a weirdly labeled setting in Cloudflare. It’s not really about security (your site is secure regardless of the setting). It really should be called, “How aggressive/annoying do you want to be with verifying traffic is human with things like captchas”. I leave my sites at...
  2. digitalpoint

    Convert uploaded media to WebP

    It does not require a paid Cloudflare. Honestly, the feature feels misplaced because it doesn’t even require your site to use Cloudflare at all. It was just kind of a nice thing to do as media was uploaded to R2 (even though it can be used without that). I’ve spun the feature out into its own...
  3. digitalpoint

    Purge cache button

    If you have the ability to call code (sounds like you probably do), you can leverage the same internal mechanism that the plugin uses to purge a list of URLs (for example when a post is edited). wp_schedule_single_event(time(), 'cfPurgeCache', ['https://yourhomepage.com']); The 3rd parameter...
  4. digitalpoint

    Purge cache button

    As long as plugins are using normal WordPress functions/mechanisms to do edits, things should be purged properly. Any of these internal WordPress actions will trigger the purge logic for that post (and all the URLs that go along with it): post_updated (an edit) deleted_post delete_attachment...
  5. digitalpoint

    Purge cache button

    The Purche Cache button in the admin UI is purging the entire cache for the site. Internally it does have the functionality to purge individual pages (that's how it works for automatic purging when things like a post is edited). While I'm not opposed to letting people manually purge individual...
  6. digitalpoint

    css in /uploads/ breaks site because it does not copy to R2

    WordPress does not have an abstracted filesystem, so it's not possible to automatically know if anything is put into the /uploads/ folder simply by it being put there by some process or function. The R2 functionality is based on WordPress Media being uploaded. If the CSS file is uploaded as a...
  7. digitalpoint

    after update to 1.98, the R2 storage is NOT working....

    Still debugging it... Have not been able to replicate the issue in my end (not even with access to someone's servers that it was happening to). Thinking it might be a third-party plugin that is doing something/manipulating the media being uploaded in an unexpected way. That being said, there...
  8. digitalpoint

    after update to 1.98, the R2 storage is NOT working....

    It’s in the “Previous Versions” section here: https://wordpress.org/plugins/app-for-cf/advanced/ But also, you don’t need to go back to previous free version for this, only the Pro.
  9. digitalpoint

    after update to 1.98, the R2 storage is NOT working....

    You can download any specific version from the Updates tab here: https://appforcf.com/items/app-for-cloudflare%C2%AE-pro.1/updates
  10. digitalpoint

    after update to 1.98, the R2 storage is NOT working....

    There were some changes to R2 uploading in 1.9.8 internally to make it more efficient, but still working out what is unique about the servers that it’s not working with. In the meantime, you can safely roll back to 1.9.2.
  11. digitalpoint

    after update to 1.98, the R2 storage is NOT working....

    That part is intentional. At least as far as the file still exists if something goes wrong with the upload to R2. I'm going to send you a file privately to upload to your server to see if that fixes it for you.
  12. digitalpoint

    after update to 1.98, the R2 storage is NOT working....

    If you look in the bucket in the Cloudflare dashboard, can you check if the file is in the bucket? Just trying to figure out if it was the transfer that failed or if the double check to make sure it was uploaded properly afterwards that is was the issue. Can get to your R2 dashboard here...
  13. digitalpoint

    after update to 1.98, the R2 storage is NOT working....

    Right, but the Pro version is an extension of the free version (you must have it installed in order for the Pro version to work). The 1.9.8 version is a little unique in that the R2 transfer mechanism was made more efficient (it can transfer the files as a data stream rather than load into...
  14. digitalpoint

    after update to 1.98, the R2 storage is NOT working....

    Are you using the 1.9.8 version of the non-Pro plugin as well? https://wordpress.org/plugins/app-for-cf/
  15. digitalpoint

    Getting Plugin to work with Cloudflare R2

    If you are doing it via web interface/admin area, you might be running up against HTTP request timeout (assuming your site is using Cloudflare as a proxy ["orange cloud on DNS"]). 100 seconds to finish the HTTP request might not be long enough for the large files to transfer. If that's the case...
  16. digitalpoint

    Token, Turnstile, Rules, etc.

    I went ahead and added a more specific filter that anyone can hook into for the next version. The app_for_cf_purge_cache filter allows you to control if a Cloudflare cache purge actually happens when requested. Additionally, it allows you to hook into the action to run your own code at that...
  17. digitalpoint

    Token, Turnstile, Rules, etc.

    ...so I poked around on this today and discovered that I forgot that the plugin is already handling it when using R2. Specifically, the URL of an image stored in R2 already has a cache-breaking mechanism appended to it, so if an image is updated (and specifically whatever is changing the image...
  18. digitalpoint

    Token, Turnstile, Rules, etc.

    To be honest, I'm not sure there's a particularly "clean" way to do it. There's a couple issues: Not everyone uses the same email address for their WordPress admin user that they use to authenticate in Access (for example it's pretty common for people to use webmaster@yoursite.com for their...
  19. digitalpoint

    Getting Plugin to work with Cloudflare R2

    Hmmm... those errors imply something is going on with the R2 servers. Specifically it tries to read the file back once it's uploaded to make sure it uploaded properly before it commits to deleting the local file. Just out of curiosity, are you running it with a ton of parallel processes or...
  20. digitalpoint

    Token, Turnstile, Rules, etc.

    From: https://appforcf.com/threads/permissions-needed-for-app-for-cloudflare%C2%AE.3/ 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) The widget name is informational, and only viewable in the Cloudflare...
Back
Top