This shows you the differences between two versions of the page.
Previous revision | |||
— | fuss:polipo [2022/04/19 08:28] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Speed Tweaks ====== | ||
+ | Polipo seems to perform best when it is not tampered with and while it uses the default settings. | ||
+ | |||
+ | < | ||
+ | ## Cache | ||
+ | # If polipo is not used by more than one person. | ||
+ | cacheIsShared = false | ||
+ | |||
+ | ## Network | ||
+ | # Do not perform IPv6 queries. A minor speed-up. | ||
+ | dnsQueryIPv6 = no | ||
+ | |||
+ | ## Webserver | ||
+ | # Disables all of polipo' | ||
+ | # which is a good idea if they are not used or needed. | ||
+ | disableConfiguration = true | ||
+ | disableLocalInterface = true | ||
+ | localDocumentRoot = "" | ||
+ | disableIndexing = true | ||
+ | |||
+ | ## Privacy | ||
+ | # Disabling sending hostname or IP to upstream proxies. | ||
+ | disableVia = true | ||
+ | # Censors headers, the following do not seem to break anything. | ||
+ | censoredHeaders = from, | ||
+ | censorReferer = maybe | ||
+ | |||
+ | ## Blocking | ||
+ | # It will never resolve to anything. | ||
+ | forbiddenUrl = about:blank | ||
+ | |||
+ | </ | ||
+ | |||
+ | * Any other additional options seem to make '' | ||
+ | * Do //not// enable PMM (Poor-Man' | ||
+ | * '' | ||
+ | ====== Ad Blocking ====== | ||
+ | |||
+ | You can retrieve the current list of spam domains from [[: | ||
+ | |||
+ | Compared to '' | ||
+ | |||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
+ | ====== Suppress Forbidden Output ====== | ||
+ | |||
+ | This hack will suppress any output on '' | ||
+ | |||
+ | <code diff> | ||
+ | --- http.c.orig 2014-03-05 15: | ||
+ | +++ http.c 2014-03-05 15: | ||
+ | @@ -855,7 +855,7 @@ | ||
+ | else | ||
+ | | ||
+ | |||
+ | - if(code != 304) { | ||
+ | + if(code != 304 && code != 403) { | ||
+ | body = get_chunk(); | ||
+ | | ||
+ | | ||
+ | |||
+ | </ | ||
+ | |||
+ | {{: |
For the contact, copyright, license, warranty and privacy terms for the usage of this website please see the contact, license, privacy, copyright.