ADee Serving Modes Explained: Picture Tag, Server Rewrite and URL Swap

The three ADee serving modes compared — how each works, which to pick for nginx, Apache or LiteSpeed, and how to verify next-gen images are actually delivered.

Conversion is half the job — serving is the other half

delivers ADee <picture> <picture>

The only cost is a few dozen bytes of markup per image — utterly negligible next to the hundreds of kilobytes each converted image saves.

Mode 2 — Server rewrite (fastest)

Accept photo.jpg photo.jpg.avif.webp Apache and LiteSpeed: .htaccess nginx: .htaccess Help tab

Mode 3 — URL swap (legacy)

<picture>

Side-by-side comparison

ModeHow it deliversConfig neededBest for
Picture tagBrowser picks inside <picture> wrapperNoneEveryone, managed hosts, page builders
Server rewriteContent negotiation at server level.htaccess (auto) or nginx snippetMaximum speed, server you control
URL swapURLs rewritten in cached HTMLNone + cache purgeLegacy edge cases

How to choose in 10 seconds

Always verify after switching

serving test curl -sI -H "Accept: image/avif,image/webp,*/*" https://yoursite.com/wp-content/uploads/2026/11/photo.jpg | grep -i content-type image/avif image/jpeg complete ADee guide

Mind your page cache

purge button

Frequently asked questions

Which serving mode is fastest?

Server rewrite. Content negotiation happens before WordPress is even involved, and the HTML stays untouched. In practice the difference from picture-tag mode is tiny — both are massively faster than serving unconverted JPEGs.

Does the picture tag mode hurt SEO?

<img> <picture>

nginx serves originals even though variants exist — what now?

Almost always one of three things: the snippet from the Help tab is not pasted (or not in the right server block), nginx was not reloaded after the edit, or a full-page cache is still serving pre-variant HTML. Fix those three and re-run the serving test.

Can I switch modes later without reconverting?

Yes — modes are pure delivery, variants are files on disk. Switch as often as you like; only remember to purge your page cache afterwards.

I run LiteSpeed hosting — which mode?

.htaccess