The past is your future
while we gather all your private data
CDNs, the untold story
CDNs are being promoted as the solution for web security, performance, and reliability. This isn't unique: many tech companies push their products hard, especially those using a "freemium" model. However, it's important to ask why a service is promoted so heavily. Is it because it truly is the best solution, or because the business model relies on mass adoption (and data)?
Cloudflare's "free" model is not without costs. You don't pay in money, but in data. Cloudflare acts as an intermediary between your visitors and your website, meaning they can log, analyze, and potentially use all traffic for their own purposes (e.g., improving services, but also for commercial purposes).
Cloudflare logs a lot of data by default, including IP addresses, request headers, and more. These logs are retained for up to 30 days, according to their own policy. This is a red flag for many privacy-conscious users and organizations, especially because there is little clarity about what exactly happens with this data and who has access to it.
Cloudflare encourages the use of its CDN and external resources (e.g., scripts, fonts, images). This can lead to technological lock-in: once dependent on Cloudflare, it's difficult to switch without performance degradation or technical issues.
This is one of the most concerning points. Cloudflare IPs are often whitelisted by security services because they are considered safe. This makes it easy for malicious actors to conduct scans and attacks from Cloudflare IPs without being blocked. For example: often used scans for WordPress admin- and config-files show that Cloudflare's infrastructure is being actively abused, even if you're not using WordPress. This is a serious risk, especially for less technical users who don't know how to detect or block it.
Cloudflare advertises strong security features, but there are significant risks associated with their service. The fact that their IP addresses are being abused for scans and attacks, and that they don't always proactively respect robots.txt, undermines their claim of security for everyone
.
First things first: reject everything third-party, do it step by step, don't force yourself, the rest will follow later.
Concentrate on this only.
Not an advertisement, but looks like it
All languages available.

External resources: fundamentally insecure
Every external resource (whether it's a CDN, a script, a font, or an API) introduces a dependency beyond your control. If that resource fails, is blocked, or hacked, your entire website or application will (partially) fail. This is a design flaw if reliability and security are priorities.
A CDN that goes offline (e.g., due to a DDoS attack or technical malfunction) can render your entire site inaccessible.
A compromised external JavaScript library (as happened with BootstrapCDN and Polyfill.io) can expose your visitors to
You can never be certain what's happening behind the scenes with a CDN or external resource. Even if a provider seems trustworthy today, their policies could change tomorrow:
They could start data harvesting (e.g., tracking, logging, or selling data). They can introduce vulnerabilities (e.g., through faulty updates or insecure configurations).
They can be blocked (e.g., by governments, as happened with Cloudflare in Russia and China).
External resources can contain trackers or collect data without your knowledge. This is not only a privacy issue but can also lead to
Example: Many websites load Google Fonts or jQuery from a CDN by default, without realizing that this can leak IP addresses and browser behavior to third parties.
CDNs and external resources add complexity to your stack, without always providing real added value. For most websites, the performance gains from a CDN are minimal if you configure your own server properly (e.g., with HTTP/2, caching, and a fast hosting provider).
Alternative: A properly configured, dedicated server (e.g., with Nginx, Varnish, or LiteSpeed) can often deliver the same performance without the risks.
The use of CDNs and external resources is largely driven by marketing. Companies like Cloudflare, Google, and Akamai have a vested interest in making as many websites as possible dependent on their infrastructure. This isn't a technological necessity, but a commercial strategy.
What Can You Do?
- No external APIs for critical functionality.
- No CDN for static assets if you don't need global distribution.
- Don't use "free" services that cost you data or control.
- Firewall: Use a local firewall (e.g., ufw, iptables, or Cloudflare alternatives like naxsi for Nginx).
- Rate Limiting: Protect against brute-force attacks with tools like fail2ban.
- Logging: Actively monitor your own logs so you can quickly detect suspicious behavior.
- Teach others about the risks of external dependencies.
- Promote self-hosting as the standard for secure and reliable websites.
| Resource | External Dependency | Self-Hosted |
|---|---|---|
| jQuery | CDN (Google, Microsoft) | Local copy of jQuery |
| Google Fonts | External CSS/fonts | System fonts or self-hosted fonts |
| Bootstrap CSS/JS | CDN | Local copy |
| Analytics | Google Analytics | Matomo (self-hosted) or $_SERVER-values |
| Images | Imgix, Cloudinary | Dedicated server or S3 compatible |
CDNs and external resources are insecure by design. They introduce unnecessary risks, complexity, and dependencies, while the benefits are often overstated. By hosting everything yourself and minimizing dependencies, you build a more secure, reliable, and transparent website.
Social & Donate





What can/do you gain?
The
No JavaScript gives you less complexity, fewer security risks, and a better user experience (especially for privacy-conscious visitors).
No unnecessary ports open on an unmanaged VPS that only does what you configure is much harder to hack than a server with standard software and open ports.
Going back to the future
Look at the pureness of the original web: a canvas and HTML. There's nothing more lightweight than that.
Some fun links that take this principle to the extremes (not that you have to go thát far, just examples):
The 512kb club
The small web
The 1Mb club
Codemadness / Gopher Project
Motherfucking website
My convention: HTDML
Maybe, possibly, probably: you're overwhelmed right now, but you're on the right track, because the only right track is the track that goes
(somewhere back in the future)
Not an advertisement, but looks like it
by professional politicians;
people are motivated by mass suggestion,
their aim is producing more and consuming more,
as purposes in themselves.
Erich Fromm, The Art of Loving
Not an advertisement, but looks like it
And now for something completely different:

