Comment on Why it redownloads files that are rendered in my app\browser?

<- View Parent
FourPacketsOfPeanuts@lemmy.world ⁨1⁩ ⁨week⁩ ago

It’s simpler code to re-download the file than retrieve what cached version may or may not exist in memory

This seems incredible

There would already have to be a data layer that serves the main web page renderer. That layer would already have to handle looking in the cache or making an http request in event of a cache miss. It would seem almost trivial for a UI operation like ‘save to disk’ to simply call that layer obtain the data…

For a few hundred K image I can understand why some might not bother, but I’ve seen this behaviour where a browser already has an MP4 cached (such that it can replay any part of it without subsequent http traffic) and yet it still makes a new request when saving. It’s weird to be honest…

source
Sort:hotnewtop