Back

Does image transformation work when S3 adapter + CDN is enabled ?

  • 0
  • Self Hosted
  • Storage
anonvt
7 Sep, 2024, 14:05

Hello,

I have connected my self hosted Appwrite storage to S3, and have also enabled CDN in front of it to serve images faster (using cloudfront).

Now my image to the frontend is loaded via cloudfront url, which bypasses appwrite storage and serves from CDN cache if image exists there.

Is there any way I can still take advantage of the appwrite image transformation parameters like width and quality, which exist for the preview endpoints ?

TL;DR
Developers are wondering if image transformation works when using the S3 adapter + CDN in an Appwrite self-hosted storage setup. The developers have connected their Appwrite storage to S3 and enabled CDN (CloudFront) to serve images faster. However, when loading images via the CloudFront URL, it bypasses Appwrite storage and serves from the CDN cache if the image exists there. The developers are seeking a way to utilize Appwrite image transformation parameters like width and quality while still benefiting from the S3 adapter and CDN setup.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more