layered-apis icon indicating copy to clipboard operation
layered-apis copied to clipboard

Allow multiple fallback URLs

Open domenic opened this issue 6 years ago • 2 comments

@kmiller68 suggested we should allow multiple fallback URLs, and let the browser pick among them. For example, the browser could pick the one it already has in its cache.

I'm unsure whether the semantic would be picking one among them, and failing if that one doesn't work, or the browser picking an ordering among them, and trying each in turn if the first one fails.

domenic avatar Mar 09 '18 05:03 domenic

Plus the pipe trick looks really cheap.

Why not a srcset attribute ?

dtruffaut avatar Apr 30 '18 18:04 dtruffaut

That seems like a separate issue; if you'd like to discuss syntax alternatives please open a new one.

(Quick answer: that doesn't work in import statements.)

domenic avatar Apr 30 '18 18:04 domenic