[DigitalPoint] App for Cloudflare®

xF2 Add-on [DigitalPoint] App for Cloudflare® 1.8.2

No permission to download

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
110
Points
143

Reputation:

Fenrir updated [DigitalPoint] Cloudflare with a new update entry:

Some minor things

  • Made some minor changes to the logic of when to serve cached pages or not (Guest page caching)
  • If a session is empty (like when a user logs out), go ahead and fully expunge it
  • Made some changes to R2 adapter so it could be configured for extra directories via config.php
  • Added some code to work around XenForo not updating CSRF token in URLs (this bug report)...

Read the rest of this update entry...
 

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
315
Points
73

Reputation:

Guest Page Caching. Best thing to start 2023 with


ltocQ.png



TTFB Less than 100MS:
lybQP.png
 

Mystic

Member
Registered
Joined
Mar 16, 2021
Messages
16
Points
13

Reputation:

The path for attachments still shows the server path and not the cloudflare path!
it shows domain.com/attachments/
It should show cloudflare.domain.com/attachments/ the new uploaded files on the forum are also being stored in the serer and not cloud flare

how can I fix this?
 

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
315
Points
73

Reputation:

The path for attachments still shows the server path and not the cloudflare path!
it shows domain.com/attachments/
It should show cloudflare.domain.com/attachments/ the new uploaded files on the forum are also being stored in the serer and not cloud flare

how can I fix this?
MysticAre you using R2 storage or mirage/polish? or the Cloudflare images plan?
Unless you are not using any of those the images will be delivered via your server. But the thing to note is whether cf-cache-status: Yes/No

If it's Yes then means CF delivered the resource and not your server.
Note that CSS has to be manually cached via page rules.
You can create 3 rules to cache CSS, data folder and any other you wish so.
 

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
315
Points
73

Reputation:

Make sure to disable other cache's like Memcache or Redis since it usually fucks up with CF Guest caching. Also, purge the cache once to make it run smoothly.
You can also edit from CF /caching/cache-rules
I just added an option in it to not cache URLs with admin.php BCS sometimes ACP didn't load idk why....

image.png
 

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
315
Points
73

Reputation:

UPDATE!

[DigitalPoint] Cloudflare 1.5.2​

 

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
110
Points
143

Reputation:

Fenrir updated [DigitalPoint] Cloudflare with a new update entry:

Minor update/bug fixes

  • More tuning of logic for when to do guest page caching
  • Made change so other addons that are also extending the filesystem mount class are able to do so with backward compatibility
  • Fixed cosmetic issue with overflow of R2 logs in overlay window
  • Prevent users from using the same bucket for public and private areas (prevent users from exposing internal-data as a public bucket)
  • Added note about style, language and advanced cookie consent in XF 2.2.12+ to known limitations...

Read the rest of this update entry...
 

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
315
Points
73

Reputation:

Update
[DigitalPoint] Cloudflare 1.5.3
 

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
110
Points
143

Reputation:

Thanos Crax

Collaborate
Collaborate
Registered
Joined
Sep 25, 2020
Messages
315
Points
73

Reputation:

[DigitalPoint] App for Cloudflare® 1.5.4.1​

UPDATE
 

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
110
Points
143

Reputation:

Fenrir updated [DigitalPoint] Cloudflare with a new update entry:

Take into account a lot of "what ifs"

  • Don't assume R2 bucket still exists when getting usage stats for buckets (in case someone deleted the bucket they are currently using)
  • Fixed issue when trying to configure R2 for the first time, but Cloudflare account does not have R2 enabled yet
  • Added sanity check for external data URL option in case addon somehow got partially (but not fully) installed
  • If using guest page caching and purge cache API call fails when a new post is created, edited or deleted, fail silently...

Read the rest of this update entry...
 

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
110
Points
143

Reputation:

Fenrir updated [DigitalPoint] Cloudflare with a new update entry:

API updates and other things

IMPORTANT for existing users: A change to Crawler Hint API calls requires a new API permission to be able to set it. You can go to your Cloudflare API Tokens, edit the token you have and add the following permissions:
  • Zone.Zone: Edit
You should have a total of 15 permissions for your API token at this point. If you don't have 15, you can check what you should have under XF Admin -> Options -> External...

Read the rest of this update entry...
 

Mystic

Member
Registered
Joined
Mar 16, 2021
Messages
16
Points
13

Reputation:

Hi
I am having an issue, maybe it not but i think it is
the avatars are loading from r2 bucket because the url of the image when i lcikc on it shows as bucket.domain.com

BUT
the attachments show as domain.com/attachments it should show cloudflare.domain.com/attachments/ right?

or is it make to show the attachments on the website domain url instead of the cloudflare r2 bucket?


The path for attachments still shows the server path and not the cloudflare path!
it shows domain.com/attachments/
It should show cloudflare.domain.com/attachments/ the new uploaded files on the forum are also being stored in the serer and not cloud flare

I have R2 on and nothing else in cloud flare related to images is on


someone please help me
 

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
110
Points
143

Reputation:

Mystic

Member
Registered
Joined
Mar 16, 2021
Messages
16
Points
13

Reputation:

is there a way or some code to migrate all data back to some other proviuder?
my cloudflare bucket says error "Client Disconnect (Code: 10054)"
 

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
110
Points
143

Reputation:

Fenrir updated [DigitalPoint] App for Cloudflare® with a new update entry:

Code unification and feature parity with WordPress version

  • Selecting Global API keys are disabled (can't setup new ones going forward). Includes deprecation notice (going away completely in the future, so migrate to API tokens if you are still using Global API keys!).
  • Unify primary classes so they can be shared without changes with WordPress version of this addon
  • If you don't already have a Cloudflare API token, the link to create one will pre-define the required permissions for you (way less annoying for new users)
  • Updated...

Read the rest of this update entry...
 

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
110
Points
143

Reputation:

Fenrir updated [DigitalPoint] App for Cloudflare® with a new update entry:

Daily stats and some minor fixes/changes

IMPORTANT for existing users: A change to Firewall API calls requires a new API permission to be able to set it. You can go to your Cloudflare API Tokens, edit the token you have and add the following permissions:
  • Zone.Zone WAF: Edit
The Firewall API has been deprecated and turned into a Ruleset API, so no way around the new permission (sorry).

Changes:
  • Fixed missing padding on timeframe...

Read the rest of this update entry...
 

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
110
Points
143

Reputation:

Fenrir updated [DigitalPoint] App for Cloudflare® with a new update entry:

Minor bug fixes

  • Better handling of situation where someone deleted R2 bucket in Cloudflare's dashboard but didn't disconnect that bucket from being used by XenForo yet.
  • Fixed issue where we were assuming there was a firewall ruleset for firewall rules (not always the case, so don't assume it exists).
  • Fixed issue with logging daily stats if a site isn't using Turnstile for CAPTCHAs
  • Requires XF 2.1.0+ (always was the case technically, installer enforces it now)

Read the rest of this update entry...
 
Top