why do web browsers use so much ram, while the average size of an entire webpage is 2mb?

681 views

From what I understand, one could cache 100 web pages (obviously, 2mb is average, but there are much smaller and much larger than that) in about 200mb. 1GB could cache literally 500 web pages.

How come web browsers use so much ram then?

In: 3000

25 Answers

Anonymous 0 Comments

I’ll add to this:

– modern browsers have to support a wide spectrum of functionality, defined in specifications. Some specifications go back twenty or thirty years but must still be accounted for.

– even something as simple and basic as drawing text or drop shadows is a surprisingly complicated function, involving a lot of math and behind the scenes optimization to keep it smooth.

– people demand more and more out of websites than ever these days, so it’s worth spending ram to reuse calculations or effects.

You are viewing 1 out of 25 answers, click here to view all answers.