[DigitalPoint] App for Cloudflare®

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

No permission to download

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
92
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

Well-known member
Registered
Joined
Sep 25, 2020
Messages
266
Points
53

Reputation:

Guest Page Caching. Best thing to start 2023 with


ltocQ.png



TTFB Less than 100MS:
lybQP.png
 

Mystic

SVIP Member
S.V.I.P Member
Registered
Joined
Mar 16, 2021
Messages
5
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

Well-known member
Registered
Joined
Sep 25, 2020
Messages
266
Points
53

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

Well-known member
Registered
Joined
Sep 25, 2020
Messages
266
Points
53

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

Well-known member
Registered
Joined
Sep 25, 2020
Messages
266
Points
53

Reputation:

UPDATE!

[DigitalPoint] Cloudflare 1.5.2​

 

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
92
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...
 

Fenrir

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

Reputation:

Thanos Crax

Well-known member
Registered
Joined
Sep 25, 2020
Messages
266
Points
53

Reputation:

[DigitalPoint] App for Cloudflare® 1.5.4.1​

UPDATE
 

Fenrir

Collaborate
Collaborate
Registered
Joined
Dec 11, 2021
Messages
92
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
92
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...
 
Top