[DigitalPoint] App for Cloudflare®

[DigitalPoint] App for Cloudflare® 1.9.5

No permission to download
Presigned URLs expire after 60 seconds, so users can't share them with other users to bypass permission checks.

Is it possible to have the expiration time configurable?
Most of my attachments are images, and I prefer caching the request for a month.

Thanks, DP.
 
Is it possible to have the expiration time configurable?
Most of my attachments are images, and I prefer caching the request for a month.

Thanks, DP.
Presigned URLs aren't cacheable like things on your public domain are. They are going through the S3 API (using a domain you don't control [*.r2.cloudflarestorage.com], so you can't set any cache rules).

What you can do if you want attachments to be cached:
  • Disable presigned URLs
  • Go to XF Admin -> Cloudflare -> Edge caching, and enable Cache media attachments
 
I hope you can incorporate the @xfrocks "[bd] Attachment Store" feature into this add-on.
Which store attachments in data:// directory or location.

That way, requests for attachments won't need PHP/MySQL usage and will always hit Cloudflare caching, not directly from the server.
Thank you. :)

1758158809276.webp
 
I hope you can incorporate the @xfrocks "[bd] Attachment Store" feature into this add-on.
Which store attachments in data:// directory or location.

That way, requests for attachments won't need PHP/MySQL usage and will always hit Cloudflare caching, not directly from the server.
Thank you. :)

View attachment 327255
Should work fine as long as they are using XenForo’s abstracted filesystem.
 
Back
Top Bottom