News for hackers. Stuff that matters.
Re:Cloudflare is turning off the internet for me by jlarocco on Tuesday January 21, 2020 @06:46PM (#22113040)
> It's easy to shit on everything. Let's hear some real solutions.

My solution more and more is to just not bother with it. If a site is unreadable because I'm using uBlock and uMatrix, and I have to spend more than a minute or two tweaking things, then I just leave.

That said, I don't have any problem with Cloudflare. I'm much more annoyed by the overuse of *.googleapis.com. I'd love if somebody would setup a service that I could point my hosts file at so that googleapis.com silently went somewhere else.

Re:Cloudflare is turning off the internet for me by ficklepickle on Tuesday January 21, 2020 @11:24PM (#22114616)
I've been thinking about a local proxy that caches CDN assets. The first request to a cdn URL goes through, subsequent requests come from cache.

I think it would work fine with versioned libraries, fonts, etc. I'm thinking of setting up a container and squid config to achieve this.

Any obvious problems or alternative solutions?

Obviously enumerating the worlds CDN URLs would be a task. But I think even covering the most common CDNs would be a benefit.

Re:Cloudflare is turning off the internet for me by thefreeman on Wednesday January 22, 2020 @12:13AM (#22114834)
I mean your browser basically already does this by utilizing cache-control and expires headers, which all CDN's are going to set
Re:Cloudflare is turning off the internet for me by computerfriend on Wednesday January 22, 2020 @01:27AM (#22115114)
Re:Cloudflare is turning off the internet for me by deftturtle on Tuesday January 21, 2020 @10:47PM (#22114424)
uMatrix is great for blocking 3rd party stuff globally in your browser. Outside of the browser, I rely on DNS blocking rather than modifying hosts files.

Wrote a little post about how I configured my blacklists and whitelists with AdGuard Pro for iOS.

https://www.calebyers.com/blog/dns-ad-blocking.html