
I have enabled CDN for DO Space. And my endpoint URLs are:
Origin: https://*********.blr1.digitaloceanspaces.com
CDN: https://********.blr1.cdn.digitaloceanspaces.com
_APP_STORAGE_DEVICE=dospaces _APP_STORAGE_DO_SPACES_ACCESS_KEY=**************************** _APP_STORAGE_DO_SPACES_SECRET=***************************************** _APP_STORAGE_DO_SPACES_REGION=blr1 _APP_STORAGE_DO_SPACES_BUCKET=*****
Added required env vars to connect appwrite with DO space. All works fine.
My doubt is whether I have to use blr1.cdn for _APP_STORAGE_DO_SPACES_REGION to channel through CDN service..?
Kindly assist.

I don't think you'll be able to use the CDN with appwrite

It will be useless to set CDN in this case, because even if you could set it, it will need to go through your Appwrite instance instead of directly from DO. This is made to handle permissions and to cache such images in order to save bandwidth

If you need CDN with appwrite due to some reasons, you can use Cloudflare

Since it acts as a reverse proxy, it works and will cache things if you setup it

Thank you for explaining...understood...I will look into cloudfare👍

[SOLVED] DO Space settings to use CDN
Recommended threads
- Appwrite functions can't connect to data...
I'm trying to create a function that queries my database, but all database operations timeout from within the function, even though CLI access works perfectly. ...
- list() is very slow; eventually shows no...
When I use the web browser to view the collections in my database, the documents they contain are normally displayed within a few seconds. For a few days now, h...
- Can't start docker containers beacuse no...
Hi, I'm testing my app where I upload also files to appwrite storage. As I suspect, I've filled up my disk. Now I can't start Appwrite. Could I ask for help wit...
