Optimizing Your CDN Cache With Cloudflare and Nginx
Optimizing your CDN cache with Cloudflare and Nginx
Recently I have been working on a personal project to help support the Linux distro I use as a daily driver, Manjaro. I decided to set up a package mirror and allow users from the community to connect to my server and pull updates or new packages for install. Doing some research I found that when updates get pushed this can result in large spikes in traffic and I would have to be prepared to serve around 1TB of traffic a week. Because I am doing this on a budget I was trying to work out the most cost-efficient way to support all this traffic when I don’t run a home lab. So I was looking for a cloud server and a way to help reduce or at least manage traffic. Due to the way the list of mirror servers are published, it’s not something I can opt-out of quickly if I hit a data limit or ran into some other cost barrier.

