Designing a Scalable CDN and Caching Strategy for Public Media
In my previous post, I explained how I selected an object storage provider for my application, along with the trade-offs. While that setup is working well, I encountered a common issue: public media files like profile images were still being streamed through my backend (Golang) — because Wasabi no longer supports public buckets. These public files are accessed frequently, especially small assets like avatars. If every request hits my backend (and subsequently Wasabi), it introduces latency and increases operational cost....