Dansday

Moved the DISNUT infrastructure over to Cloudflare

Moved the DISNUT infrastructure over to Cloudflare

Published on Mar 26, 2026

I recently moved the DISNUT infrastructure over to Cloudflare and I want to share why I made this decision. Relying on a content delivery network is no longer optional for me because it solves specific operational headaches that I simply cannot afford to ignore.

Here is what I am gaining by using this setup:

  1. Performance gains
    My main goal was reducing load times for my users. By caching assets like images and JavaScript closer to where my users are located, I effectively decreased the physical distance data has to travel. I have seen load times drop by 50 percent because I am no longer forcing every request to hit my origin server directly. Result? you can find out here.
  2. Reliability and uptime
    I built this because I cannot risk my application going offline when things get messy on the internet. Cloudflare balances the network traffic so no single server of mine gets overwhelmed. If a server stops responding, the failover process kicks in automatically. It even routes around congested network paths similar to how GPS navigation works which keeps my content available even when there is trouble on the web.
  3. Managing infrastructure costs
    Bandwidth costs are a significant concern for me. By offloading requests to the edge, I stop paying for the same content to be delivered from my origin server repeatedly. Since the network handles the heavy lifting, my origin server stays lean and I save money on bandwidth fees that hosting providers usually charge based on total data transfer.
  4. Resilience against attacks
    One of my biggest fears is a denial of service attack trying to crash my site. My single origin server would crumble under a massive spike of junk traffic. Because the network is spread out across many data centers, it can absorb those traffic spikes much better than I ever could on my own. It keeps my site online while filtering out that malicious noise before it reaches me.

I chose this path because it simplifies my infrastructure management while providing the security and speed that I need to keep the DISNUT platform stable. It is a practical trade off that lets me focus on building features rather than worrying about network congestion or sudden server crashes.