3 ms·
Crazy thought: detect viewport size on first load and serve pre-rendered PNGs to skip the rendering on client part. Someone probably already developed that.
by odiroot 11y ago
Crazy thought: detect viewport size on first load and serve pre-rendered PNGs to skip the rendering on client part.
Someone probably already developed that.
- iopq 11y agoOpera did something like this, but instead of PNGs they gave custom markup that is precomputed so that the flip phones don't have to do layout. Or something like that. Opera mobile had server farms rendering content and re-compressing large images.
- NicoJuicy 11y agoviewport size can only be detected when the page is loaded... Afterwards, the images are loaded. It feels slow ;)
- 0x4a42 11y agoWith this method the content wouldn't be accessible to user agents that are coupled to helpers for persons with disabilities.
- masklinn 11y agoThat is essentially what Opera Mini does/did: requests went through Opera's render farm which would request page and render them (with adaptations) to a packed binary format and send that back to the device. There was also rudimentary JS support in the rendering farm, the device essentially got an image with an interaction map, and interactions would be sent to the server for processing. Not very configurable though, can't really e.g. customise font size, observe the page or pass it through a screen reader.
- uptown 11y agoNot to mention the enormous privacy trade-off of having Opera monitor and screenshot every webpage you visit.