This repository was archived by the owner on Nov 3, 2023. It is now read-only.
This repository was archived by the owner on Nov 3, 2023. It is now read-only.
Compress basic rules #2
Open
Description
We should try compressing simple basic rules.
Here's the algorithm.
Take simple third-party blocking rules (e.g. matching this regex: ^\|\|[a-z0-9_.-]+\^\$third-party$
):
||example.org^$third-party
||example.com^$third-party
Compress them into a single rule:
^[htpsw]+:\/\/(example.org|example.com)[/:&?]?
The main question here is the impact on the content blocker performance.