Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
maybe it caches the profile images of the channels you've seen recently. And their recent videos thumbnails. Youtube is very fast.
-
Hazarth91342yTo be fair, caching 1.5GB also means you just saved 1.5GB of data being transmitted over the internet, which is a much smaller bottleneck than memory.
I know what you're saying, but when it comes to performance optimization, you either sacrifice disk space for speed or the other way around.
On the other haaaand... 1.5GB sounds like it's probably mostly caching ads... that sounds like a lot of short video files... maybe the previews but most likely ads... getting 1.5GB of javascript, css and jpeg avatars seems unlikely to me...
Then again, if you ever been on a limited internet, you'll be thankful that this shit doesn't get pulled every time you open the app, otherwise that would eat through your limited link in minutes... So yeah. There's pros and cons to this thing -
JsonBoa31002yI think @Hazarth may be right, and that it might not be only ads. Maybe even the watched videos themselves, on a fast (i.e. uncompressed) format, that were downloaded to allow you to replay/pause/stop/move through the video without requiring the server to retransmit the same packages. Or to do anything, really.
It is not that devs got lazy, it is just that companies have somehow convinced you to pay for their infrastructure costs so that some of their products get to be "free" and some get to be obscenely profitable.
Heh, client-side generated html sounds like a great deal for the owners of web apps, and quite the hassle for the devs. -
galena74532y@JsonBoa Lets store the entire webapp locally. So the use can access it offline and we have significantly less traffic to deal with. Genious!!! -
Thanks, I still had youtube vanced on my phone with over 1 GB in cache. I would hope it at least contains videos I've watched multiple times, but I'm expecting it to contain something useless. Maybe all the video thumbnails I've ever seen?
-
JsonBoa31002y@galena DRM.
Store the app on the user's device, make them connect and watch ads to get the keys to decrypt storage blocks (hardware-offloaded feature nowadays).
They get to keep the same number of active daily users on the server, for a tiny fraction of the traffic (if you measure it in bytes).
Back in the day it was called "pulling a XboX One". I think kids nowadays call this scam "the software industry".

Youtube cached 1.5GB of data on my phone. Have we all forgotten how to code? Have endless hardware resources gotten the better of us?
rant