[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
 
Back
Top Bottom