3 ms·
You should be able to encode the first 10% of a file as a data URI, yes. Maybe you could use something like `srcset` to say "and also load the higher-quality v
by nathan_long 9y ago
You should be able to encode the first 10% of a file as a data URI, yes.
Maybe you could use something like `srcset` to say "and also load the higher-quality verion from the server"? https://responsiveimages.org/ https://responsiveimages.org/
- BHSPitMonkey 9y agoI think they mean, could you inline the first 10%, and then lazy-load the other 90% (taking advantage of the FLIF decoder's progressive rendering). Which I would have to imagine is a "no" (you would have to swap your 10% placeholder with a whole 100% remote version).
- ant6n 9y agoThat's what I thought. I wonder what the advantage is at that point, over using, say, an inline jpg for the low quality version.
- nathan_long 9y agoCurrently, browsers don't support FLIF at all. If they ever do support it, what you're suggesting could be an excellent feature to add.