PixSpeed Troubleshooting: Fix Nginx, Page Cache and AVIF Problems (7 Fixes)

Fix the 7 most common PixSpeed issues: missing AVIF engine, variants not served on nginx, stale images after bulk conversion, GIF behaviour, quality questions and clean uninstall.

PixSpeed is deliberately simple, but it lives in the real world — different hosts, different caches, different server software. Here are the seven issues that account for almost every support question, with the fastest fix for each.

SymptomLikely causeFastest fix
AVIF badge never appearsNo AVIF engine on serverFix #1
Variants exist but originals are servedServing config (nginx/cache)Fix #2 or #3
Old images still load after bulk runPage cacheFix #3
GIF looks staticExpected behaviourFix #4
Converted image looks worseQuality settingFix #5
Transparency lostSource file, not the pluginFix #6
Variant files left after uninstallSafety defaultFix #7

Fix #1 — No AVIF engine detected

no apt install webp libavif-bin systemctl reload php8.3-fpm # your PHP version may differ

On shared hosting, ask the host to enable the Imagick AVIF delegate or install libavif-bin. Meanwhile WebP conversion keeps working — PixSpeed degrades gracefully, it never blocks the whole plugin because one format is unavailable.

Fix #2 — Variants exist but browsers get originals (nginx)

map $http_accept try_files serving modes explained nginx -t && systemctl reload nginx Picture tag

Fix #3 — Old images still loading after a bulk run

Your page cache is serving HTML (or image URLs) generated before the conversion. With the default Picture tag mode this is rare, because the HTML structure does not change. With URL swap mode it is guaranteed — always purge after bulk runs. Either way:

Fix #4 — Animated GIFs: what to expect

larger

Fix #5 — A converted image looks worse than the original

Settings

Fix #6 — Transparency problems in PNGs

WebP and AVIF both support full alpha transparency, and PixSpeed preserves it — if a PNG's transparent background suddenly looks wrong, check the source: transparency flattened before upload cannot be recovered by any converter. Also verify the theme is not placing the image on a coloured background via CSS. If a specific file still misbehaves, restore that single image and re-convert it at higher quality — and if it persists, report it via digitalwasim.com with the original file attached.

Fix #7 — Variant files remain after uninstalling

keeps variant files define('WAC_DELETE_FILES', true);

Still stuck?

serving modes guide installation guide digitalwasim.com

Frequently asked questions

How do I check whether variants are being served?

Use the serving test button on the PixSpeed dashboard — it requests one of your converted images with a modern browser's Accept header and reports exactly which format came back and how much smaller it was.

Is it safe to delete the plugin to start over?

Deactivating and deleting removes PixSpeed's settings and database records but leaves variant files on disk by default. To also delete those files, define WAC_DELETE_FILES as true in wp-config.php before deleting — or restore everything first.

Where do I report a bug or ask a question?

Reach the developer via digitalwasim.com. PixSpeed is maintained by Wasim Akram, who also maintains FlynCache Purge — support articles for both live on this site.