Comment on Why it redownloads files that are rendered in my app\browser?
undefined@lemmy.hogru.ch 1 week agoMaybe I’m not understanding the question but typically a CDN will have HTTP headers to signal to the browser to cache the asset (image). I can’t imagine Pinterest isn’t using a CDN, so if it’s re-fetched over the network that sounds like a browser problem more than a developer one.
zoostation@lemmy.world 1 week ago
That’s right, I was referring to the browser/client developer. The browser cache is treated as ephemeral storage so it’s not a safe assumption that a previously downloaded file is still there.
undefined@lemmy.hogru.ch 1 week ago
That’s crazy. I love Safari (I know, it sucks and I’m in the minority) and it usually caches things in memory and doesn’t redownload. Have I been in Appleland too long?
I’m a web developer and deal mostly with complex backend stuff, but is this issue of browsers not caching content common? This is news to me.