4 ms·
As much as HN hates adding stuff to browsers, this is something that needs to be controlled by the useragent, not the application. Have the user tell their bro
by Klathmon 10y ago
As much as HN hates adding stuff to browsers, this is something that needs to be controlled by the useragent, not the application.
Have the user tell their browser that the connection is metered, then have the browser request smaller assets, don't preload anything, maybe give the ability to mark some things as "optional", etc...
And by doing it that way it's easily "backwards compatible". Phones that don't understand the "this image is optional" attribute will just continue to render it, but those that do and know not to show them won't.
- vacri 10y agoAt $JOB-2, the CEO was clear in the application design that there were two classes of network: "free", and "expensive". If it's "free", do whatever; "expensive", minimise everything tenable.
- mjevans 10y agoI think this is quite probably the minimum possible distinction. Either you have /unmetered/ and /fast/ and /low latency/... or you fallback to a design where every byte matters.