Does anyone have any better suggestions for me than "go back to JPEG for my background images", to get reasonable-quality images on a webpage that still load comfortably on slow connections?
Note that anything that requires JS to function is not an option; I will not be implementing the pattern of "lazy-loading images after the fact", unless it can be made to work reasonably well without JS.
@joepie91 you can use to define multiple sources (e.g. AVIF and JPEG as a fallback), and i think you can just put defer as an attr for the lazy-loading
@lnl (I think part of your reply got lost?)
@joepie91 ah right, gts likes to just remove things that look like an html tag. picture tag. <picture>
@lnl How would that work for background images?
@joepie91 ah, that's more annoying. i've done some z-index hacks myself but that site is down now