#Convex File Storage
8 messages · Page 1 of 1 (latest)
Hi @lean dawn. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
No, files stored in Convex File Storage are not currently hosted in a global CDN by default. When you use Convex's built-in file storage, files are served directly from Convex's storage backend (which may be S3 or local storage, depending on your setup), but there is no automatic CDN layer in front of them at this time.
There are browser cache headers set for files, so users shouldn't have to download the same file twice, but this is not the same as global CDN caching. If you serve files via HTTP actions, you need to set cache headers yourself. The Convex team has mentioned plans to add CDN-like caching and more advanced networking features in the future, but these are not available yet. For now, if you need CDN-level performance, you should use an external CDN and connect it to your Convex data manually or via a component such as the Cloudflare R2 integration. This approach is currently recommended for use cases that require global caching and fast asset delivery Image/file caching? Is there any caching for files on a CDN?.
In summary: Convex File Storage does not automatically host files in a global CDN, but you can integrate with external CDNs if needed.
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
@lean dawn Kapa.ai is still learning and improving, please let me know how I did by reacting below.
How can I combine Convex with Vercel Blobs?
@wooden summit How can I combine Convex with Vercel Blobs?
Let me check the knowledge base for you again. One moment! :books:
I'm sorry, but the knowledge sources do not contain information about integrating Convex with Vercel Blobs. There are no official guides, examples, or discussions in the provided sources that describe how to combine Convex with Vercel Blobs or use them together.
If you need file storage with Convex, the documentation covers using Convex's built-in file storage, self-hosted S3-compatible storage, and integrations with providers like Cloudflare R2, but does not mention Vercel Blobs specifically File Storage Self-hosted S3 Storage.