News for hackers. Stuff that matters.
Re:WebP: The WebPage Compression Format by lxgr on Saturday September 07, 2024 @04:53PM (#41476428)
That's certainly reasonable if you optimize only for loading time (and make certain assumptions about everybody's available data rate), but sometimes I really wish website (and more commonly app) authors wouldn't make that speed/data tradeoff so freely on my behalf, for me to find out after they've already pushed that extra data over my metered connection.

The tragedy here is that while some people, such as the author of TFA, go to great lengths to get from about 100 to 50 kB, others don't think twice to send me literally tens of megabytes of images, when I just want to know when a restaurant is open – on roaming data.

Resource awareness exists, but it's unfortunately very unevenly distributed.

Re:WebP: The WebPage Compression Format by k__ on Saturday September 07, 2024 @05:38PM (#41476636)
We need a MoSh-based browser with gopher support.
Re:WebP: The WebPage Compression Format by nox101 on Saturday September 07, 2024 @09:01PM (#41477473)
and you'd need AI to tell you whats in the pictures because lots of restaurant sites just have photos of their menu and some designer with no web knowledge put their phone number, address, and hours in an image designed in Photoshop
Re:WebP: The WebPage Compression Format by tacone on Sunday September 08, 2024 @02:51AM (#41478661)
You're in for bad luck. Some time ago I tried some photos of pasta dishes with Gemini and it could not guess the recipe name.
Re:WebP: The WebPage Compression Format by mintplant on Sunday September 08, 2024 @02:09PM (#41481994)
I've found Gemini to be pretty terrible at vision tasks compared to the competition. Try GPT-4o or Claude-3.5-Sonnet instead.
Re:WebP: The WebPage Compression Format by zamadatix on Sunday September 08, 2024 @10:00AM (#41480442)
There is an interesting "Save-Data" header to let a site know which makes sense to optimize for on connection but it seems to be Chrome only so far https://caniuse.com/?search=save-data

I wish there was a bit of an opposite option - a "don't lazy/partially load anything" for those of us on fiber watching images pop up as we scroll past them in the page that's been open for a minute.

Re:WebP: The WebPage Compression Format by kelnos on Sunday September 08, 2024 @05:52PM (#41483544)
> ... on roaming data.

A little OT, and I'm not sure if iOS has this ability, but I found that while I'm traveling, if I enable Data Saver on my (Android) phone, I can easily go a couple weeks using under 500MB of cellular data. (I also hop onto public wifi whenever it's available, so being in a place with lots of that is helpful.)

My partner, who has an iPhone, and couldn't find an option like that (maybe it exists; I don't think she tried very hard to find it), blew through her 5GB of free high-speed roaming data (T-Mobile; after that you get 256kbps, essentially unusable) in 5 or 6 days on that same trip.

It turns out there's so much crap going on the background, and it's all so unnecessary for the general user experience. And I bet it saves battery too. Anything that uses Google's push notifications system still works fine and gets timely notifications, as IIRC that connection is exempt from the data-saving feature.

I've thought about leaving Data Saver on all the time, even when on my home cellular network. Should probably try it and see how it goes.

But overall, yes, it would be great if website designers didn't design as if everyone is on an unmetered gigabit link with 5ms latency...

Re:WebP: The WebPage Compression Format by YourOrdinaryCat on Sunday September 08, 2024 @06:25PM (#41483753)
Settings > Cellular > Cellular Data Options > Low Data Mode is the iOS equivalent.
Re:WebP: The WebPage Compression Format by lxgr on Sunday September 08, 2024 @10:55PM (#41485070)
I'm always using that on roaming data! Even then, Google Maps happily blows through hundreds of megabytes of photos within a couple of minutes of browsing for restaurants, probably for all the high-res photos in the reviews...
Re:WebP: The WebPage Compression Format by hahamaster on Monday September 09, 2024 @02:55AM (#41486071)
On iPhone you can set Low Data mode for all cellular data (and also for specific wifi networks).

She might have kept tapping Sync at the bottom of Photos even though iOS itself pauses it when in Low Data mode. iCloud Photos and video syncing is a data killer if you're on a holiday abroad, my wife takes hundreds of photos and videos a day, imagine what it does to data.

Re:WebP: The WebPage Compression Format by account42 on Monday September 09, 2024 @04:59AM (#41486666)
I do wish site authors wouldn't waste my bandwidth, but I wish much more they wouldn't waste my CPU and break usability in various ways like TFA's "solution" does. This is not a win even if you care deeply about optimizing sites.