The past is your future

CDNs: verifying you're human,
while we gather all your private data
Category-menu
 

CDNs, the untold story

First: set aside everything that you know and distrust everything that's free and being pushed.

Aggressive Marketing and Adoption

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)?
Nuance: Cloudflare for example, does offer valuable services, such as DDoS protection and CDN functionality, but choosing Cloudflare (or an alternative) should always be based on a balance of pros and cons, not just marketing.

"Free" Isn't Free: Data as Currency

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).
Important point: unlike cookie consent, where users can refuse, Cloudflare offers no opt-out option for visitors. This is a fundamental difference from the GDPR principles of transparency and consent.
Nuance: Cloudflare claims to anonymize personal data and not sell it, but the lack of transparency makes this difficult to verify.

Extensive Logging and Lack of Transparency

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.
Criticism: there is no independent audit or public reporting on how Cloudflare handles this data, which undermines trust.

Lock-in via External Resources and CDN

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.
Risk: if Cloudflare ever changes its policies (e.g., price increases, stricter terms), you, as a user, are in a weaker bargaining position.

Abuse of Cloudflare IPs and Whitelisting

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.
Solution: Cloudflare should more actively monitor and block abuse from their IP addresses and be more transparent about how they address this.

Promising Security, but with holes

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.

 

What can you do as an alternative?

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

Don't miss this:

Mojeek, privacy-free search.
No tracking and honest results.
Beats all the others.

Mojeek community

Search with Mojeek.com, the only true privacy-free search engine

 



(Not an advertisement)  D(ynamic) CSS Portugal life Colorpicker Websafe fonts

Mistral, European highly knowledgable AI-assistant.
All languages available.

Try the European Mistral Chat AI, you can speak whatever language you want
 

External resources: fundamentally insecure

Single Points of Failure

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.
Examples:
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 malware.

Lack of Transparency and Control

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).
Conclusion: If you don't have 100% control over the code and infrastructure, you run unnecessary risks.

Privacy and Compliance Risks

External resources can contain trackers or collect data without your knowledge. This is not only a privacy issue but can also lead to GDPR violations if you don't have explicit consent from your visitors.
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.

Unnecessary Complexity

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.

Hype and Marketing

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?

Self-Host Everything Scripts: Host all JavaScript and CSS files yourself, on your own domain. Fonts: Use system fonts or host them yourself (e.g., with @font-face). Images: Serve them from your own server or your own object storage (e.g., S3-compatible storage). Analytics: Use privacy-friendly, self-hosted tools like Matomo or GoAccess. Code: Write all your code yourself, or be at least very careful where you get your code from and if you don't use your own code, then make 100% sure that you exactly know what it does. Minimize Dependencies

- 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.

Secure Your Own Infrastructure

- 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.

Education and Awareness

- Teach others about the risks of external dependencies.
- Promote self-hosting as the standard for secure and reliable websites.

Practical Examples

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
Conclusion: CDNs Are Not Necessary

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

Find me on Bluesky Find me on Wordpress Find me on Reddit Find me on Quora Donate to me conveniently and safely using paypal.me
 

What can/do you gain?

Complete Control and Autonomy

No third parties: no CDNs, no external scripts, no tracking, no cookies. That means no unexpected changes, no data leaks, no lock-in.
Custom code: you write everything yourself, so you know exactly what's happening. No hidden features, no unexpected updates, no vulnerabilities you don't know about.

Optimal Preferred Performance

The lowest possible load times for your websites with a well-configured server (e.g., with HTTP/2, caching, and a fast backend). This is usually faster and more reliable than a CDN for most use cases.
No JavaScript gives you less complexity, fewer security risks, and a better user experience (especially for privacy-conscious visitors).

Privacy by Design

No cookies, no tracking: no consent-banner, you're not only GDPR compliant, but you'll be far exceeding it. Visitors don't have to worry about what happens to their data—because no data is collected.
No user input: no forms, no comments, no uploads. This eliminates many security risks (e.g., XSS, SQL injection, spam). There are many ways to still offer interactivity ánd privacy to go with it like BlueSky, Reddit, Wordpress.com, Discord etc.

Security through Minimalism

Less attack surface: No external dependencies = fewer vulnerabilities.
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.
Active monitoring: handle everything yourself and you'll immediately see if anything suspicious happens.

 

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 away from bigtech.

See you!
(somewhere back in the future)
 

Not an advertisement, but looks like it

Our society is run by a managerial bureaucracy,
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

(Not an advertisement)  Test your website HTDML-coding Troje (NL) Kahlil Gibran
 
 

And now for something completely different:

IfastNet cheap hosting & VPS. ✨ infinityfree.com: free webhosting & 3 subdomains ✨

Infinityfree: real free and awesome webhosting


Old animated gif websitecounter  
NovaCloud-hosting.com ✨ Extremely fast and cheap VPS and Gaming-hosting solutions ✨

NovaCloud-hosting: dó check them out, you won't regret