Hacker News new | ask | show | jobs
by amelius 3696 days ago
> Throwaway in the sense that it's less costly to recalculate than to recall it from swap.

Network is slower than disk (is slower than memory). So if "recalculate" means getting it from the internet, then probably getting it from disk is faster in most cases.

2 comments

local network is faster than disk.

The internet is rarely faster than disk unless you're in a major data centre.

And then... this is assuming you're referring to spinning rust. local disks in the form of SSDs will be faster again.

I expect that it's easy to rerender webpages but it's wasteful to swap the bitmaps and load them from disk again. I wouldn't expect the browser to throw away data retrieved via network.