A <picture> element makes each browser download exactly one file. In my test, Chromium 149, Firefox 151 and WebKit 26.5 all picked the AVIF: 34,898 bytes, against 79,671 for the JPEG fallback. That is 44,773 bytes fewer, or 56.2%. The savings depend on two things people get wrong: source order and the type attribute. What does the browser... Weiterlesen: The picture element: which format each browser downloads
Intelligence View
⚡ tsecurity.de Intelligence
The picture element: which format each browser downloads
A element makes each browser download exactly one file. In my test, Chromium 149, Firefox 151 and WebKit 26.5 all picked the AVIF: 34,898 bytes, against 79,671…
Quelle & Fakten · 1 Min. Lesezeit
Quelle: DEV Community (dev.to)
Rubrik: Sichere Programmierung
Security Briefing Kostenlos · 1-Klick-Abmeldung
Intelligence Digest — kostenlos
Täglich die wichtigsten Security-News · jederzeit abbestellbar