4 ms·
I wonder if there is a way browsers could preemptively “compress“ (I doubt that’s the correct terminology) prior to downloading? Like somehow grab every nth bit
by obituary_latte 7y ago
I wonder if there is a way browsers could preemptively “compress“ (I doubt that’s the correct terminology) prior to downloading? Like somehow grab every nth bit, combine, render and then allow for further requests to refine at user discretion. Wonder if anyone has ever tried something like that.
- markdown 7y agoThis used to be a feature of Opera. If you enabled it, it would run all webpages through the Opera proxy, which would downsize everything for you.
- slavik81 7y agoThe wavelet-based image formats like JPEG 2000 were designed to make that sort of thing possible. They never really caught on, though.
- shakna 7y agoI don't think that's even possible with the byte-ordering of a lot of the formats we use today. Like the pass extraction of PNG [0] would make it somewhat possible, but you'd need to be dropping packets which you might as well receive. I don't think you'd be able to break after the first pass. JPEG is probably worse. However, the super-modern formats that are still gaining popularity, like WebP absolutely do support this. At the core of WebP is block prediction, so a low-bandwidth application might actually assume the values of certain blocks so it doesn't need to fetch them. [0] https://www.w3.org/TR/2003/REC-PNG-20031110/#4Concepts.EncodingPassAbs https://www.w3.org/TR/2003/REC-PNG-20031110/#4Concepts.Encod...
- bootloop 7y agoI know that Opera had this feature once and Google Chrome on Android does this via it's "Lite mode": https://support.google.com/chrome/answer/2392284?co=GENIE.Platform%3DAndroid&hl=en https://support.google.com/chrome/answer/2392284?co=GENIE.Pl...
- swebs 7y agoThis feature is built into Jpeg images, though most image editors don't save them with this enabled by default. People call them progressive jpegs. https://www.thewebmaster.com/dev/2016/feb/10/how-progressive-jpegs-can-speed-up-your-website/ https://www.thewebmaster.com/dev/2016/feb/10/how-progressive...
- Izkata 7y agoUsed to be really common around the late 90s/early 2000s...