News for hackers. Stuff that matters.
Re:The Google home page is 500K by YetAnotherNick on Thursday December 23, 2021 @11:56PM (#29670396)
> Google's search result page will often run 2-2.5MB in size

While it is true, for almost all of the users most of it is cached. For me it is using 2.5 MB resources with 77kB transferred.

Re:The Google home page is 500K by onion2k on Friday December 24, 2021 @02:41AM (#29671318)
That's important of course, but the cached code will have to be refreshed when there's a change (could be done partially with code splitting), so how long the cached data lasts depends on how often the Search page is updated. For Google that probably isn't happening daily, but it could be very often. Hopefully Google have split out the hot code that changes a lot in to a small bundle so the rest can sit in the cache for a while.
Re:The Google home page is 500K by jamil7 on Friday December 24, 2021 @05:16AM (#29672308)
That cached code (presumably) needs to be executed by your computer so it’s still wasteful, slower and somewhat mind boggling as to why that pages needs 2.5mb worth of html/css/js.