Would disabling URL rules improve performance? #3182
-
I've implemented more comprehensive URL blocking rules on my router compared to UBO. If I keep UBO's element rules unchanged but disable UBO's URL rules and let the upstream router handle all URL filtering, would there be any difference in blocking effectiveness? Is it possible to improve performance and reduce power consumption on mobile devices? If this idea is feasible, could an option to ignore URL filtering rules be added? Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 7 replies
-
This is often heard flawed idea. Assume you block ALL ad-, tracking-, annoyances- , and malicious servers on your router1. Every time your browser or OS first has to query DNS record of them unless already cached and only then the requests will be sink-holed. No query ever happens if blocked on browser. People should ditch the naive idea as if uBO matches each and every requests against every rules. Do you see delay in Google search as the number of websites is growing? uBO's matching is the same, in a nutshell, uBO discards rules not having chance to match a request in early stages and thus most of rules are as if non-existent. Coming Chromium MV3 visualizes (sort of) this - all the domain rules will be compressed and counted as 1 rule. 1: This is actually never possible. Even if you added all the lists on earch, it's far from the perfect - this is why we utilize various regex and generic rules to catch those servers and each of such a rule is equivalent to thousands of domain rules. And not all ads and trackers can be blocked in domain-level resolution. For example, FingerprintJS is usually implemented in first-party script in the site you visit. |
Beta Was this translation helpful? Give feedback.
-
How is it more comprehensive? |
Beta Was this translation helpful? Give feedback.
This is often heard flawed idea. Assume you block ALL ad-, tracking-, annoyances- , and malicious servers on your router1. Every time your browser or OS first has to query DNS record of them unless already cached and only then the requests will be sink-holed. No query ever happens if blocked on browser. People should ditch the naive idea as if uBO matches each and every requests against every rules. Do you see delay in Google search as the number of websites is growing? uBO's matching is the same, in a nutshell, uBO discards rules not having chance to match a request in early stages and thus most of rules are as if non-existent. Coming Chromium MV3 visualizes (sort of) this - all the doma…