Pihole in the last few months has completely slowed image loading to a crawl, basically dial-up style, across multiple major sites (Reddit, Twitter (X), Imgur, Discord), across all my devices (Windows, Android, TVs, etc.) YouTube and Twitter videos also quickly drop quality. Issue goes away when Pihole is completely removed from the chain.
Expected Behaviour:
Images load near instantaneously at full or best quality
Actual Behaviour:
Pages themselves load fine but each image takes about 30+ seconds to start displaying, and another 15 seconds to load the entire image line by line. Add 15+ seconds if full quality was not loaded the first time.
Debug Token:
https://tricorder.pi-hole.net/lUYy3wKK/
Currently running with Unbound. Old machine was a i5-650 with Lubuntu 22.04. New machine is Celeron J4105 thin-client with Xubuntu 24.04. Exact same behavior.
Testing with a Twitter media tab. Different Twitter profiles each time. But even profile pictures stutter.
Nothing related blocked in the query or tail log. first time dig
to either Reddit or Twitter takes 800ms or more. Subsequent digs about 150-200ms. Before this issue, usually they're <50ms with Pihole
Checking Chrome's network waterfall if I'm reading it right seems to show the first image taking 30+ seconds just to get a response, then an additional 10-15-ish seconds to load line by line, starting with a very crunchy, low quality version, dial-up style. Add on 10 more seconds to load a normal quality version. Then the next image starts. If I'm lucky, a second preview thumbnail will start loading simultaneously, at crunchy quality of course.
Disabling Pihole in dashboard did not help.
Using various DNS servers in the dashboard instead of Unbound did not help.
Tried enabling Unbound forwarding to Quad9 and Cloudflare. Did not help.
Removing Pihole by:
Enabling a VPN restored expected performance
Switching router DNS back to ISP default or another provider, also seems to restores normal performance.
Enabling DNS Relay in my router seems to help a bit? I cannot leave it enabled as restarting the router resets WAN DNS to ISP defaults.
There is only one other post about this that describes a nearly identical issue (unsolved): Reddit, specifically, is suddenly taking forever to load, but only when using PiHole for DNS. /r/pihole