Thread: Ad blocking
View Single Post
PJE's Avatar
Posts: 58 | Thanked: 16 times | Joined on Oct 2007 @ Michigan, USA
#15
Originally Posted by GeneralAntilles View Post
The idea is to use both. The big gain with the hosts over almost every other method (minus privoxy), is that it prevents the ads from even being loaded. This saves time, bandwidth, CPU and RAM.

But no, there is no hit with a large hosts. Instead of resolving the URL from a DNS server, it resolves from the hosts, which points nowhere.
So the userContent.css is post filtering the data being displayed after it's downloaded - similar to what some GreasMonkey scripts do? I was thinking it was also reducing the downloaded data... I need to do some tests.

Also, if I have a 50K host file doesn't the browser have to check every link address with the list before sending it out to the internet DNS? I was thinking about the time taken to perform this check.
__________________
“Never trust a computer you can't throw out a window.” - Steve Wozniak.