top | item 33706867

(no title)

cosarara | 3 years ago

Is it possible to fall back to a jpeg if the browser does not support js, wasm, or web workers? With a <picture> element, maybe?

I did some tests on my own server and found that for some reason it's quite fast when running on https, but super slow on insecure http. Not sure why that is, maybe the browser disallows something that's important here for insecure connections.

discuss

order

niutech|3 years ago

Yes, you can use <picture> to fall back to JPEG/PNG/WebP.