Skip to content

Loading…

DNS Queries still happening on blocked domains #232

Closed
cbuijs opened this Issue · 5 comments

2 participants

@cbuijs

Looks like that the domains blocked on a web-page are still resolved in DNS by the browser. Can this be prevented somehow? It is overhead that maybe can be omitted and speedup things.

@gorhill

Could this be related to the setting "Predict network actions to improve page load performance"? uBlock uses webRequest.onBeforeRequest, there is nothing earlier than this.

@cbuijs

Indeed! Good catch! Switched it of and the DNS stays clean of blocked domains. I cannot measure if it is quicker, but at least it is less overhead :-).

@gorhill

Added suggestion to turn off the setting to the "Privacy stuff" wiki page.

@gorhill gorhill closed this
@ghost

EDIT: https://code.google.com/p/chromium/issues/detail?id=415071

I have today compiled Chromium from the repository, current version
Version 39.0.2165.0 (64-bit)
and I can confirm that when
Predict network actions to improve page load performance is selected
then uBlock and HTTPSwitchboard and HTTPS Everywhere extension work as expected.
However when it's deselected, then none of them work at all, they are unexpectedly broken as if javascript wasn't running within them, or something.
I can reproduce this at will.
Unsure if I should make a new issue or just go to chromium-dev google groups. I have only just minimized the issue to that option being deselected.

and there are no reported errors in chrome://extensions
some screens:
predict1
predict2
predict3
predict4

@gorhill

I can't support unstable version of Chromium, I just don't have the time/resource for this. In the current case the problem is obviously with Chromium, so this should be reported to Chromium devs.

@Snapy Snapy pushed a commit to Snapy/uBlock that referenced this issue
@gorhill gorhill this addresses #232 c265d67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.