Live data from Hacker News

Why are pages slow?

themvcblog.typepad.com

11–13 of 13 posts

Re: Why are pages slow?

#11
post #3

I'm interested to see what's said for "poor cache-ability". It's an area where the assumption of "more caching is better" can be wrong. I've seen real-world A/B test results that indicate client-side caching can often be slower than re-fetching a resource from the network. Typically, this is true for small resources being loaded from the disk cache (i.e. your home page on a new browser session). It's counter intuitiv…

Until some guy from New Zealand that doesn't have an edge in his country comes along. Don't actually apply this optimisation just because it's faster for you. It's probably slower for a lot of the rest of the world.

>Until some guy from New Zealand that doesn't have an edge in his country comes along. Don't actually apply this optimisation just because it's faster for you. It's probably slower for a lot of the rest of the world.

And who cares about the "guy from New Zealand"? You optimise to the markets/areas you target.

Re: Why are pages slow?

#12
Most single page javascript apps that don't prerender are the biggest sinners in a multitude of ways. 1) with the amd loading system you spawn multitude http requests, where 2) none of the code went through a tree shaking to remove dead code (ala the closure compiler in advanced mode - or something which cross compiles) you download a whole steaming heap you don't need thus extra bytes 3) no pre-rendering, so now you are blocking the users experience till your whole steaming pile has managed to trickle down onto a mobile device, the joy

Re: Why are pages slow?

#13
post #3

I'm interested to see what's said for "poor cache-ability". It's an area where the assumption of "more caching is better" can be wrong. I've seen real-world A/B test results that indicate client-side caching can often be slower than re-fetching a resource from the network. Typically, this is true for small resources being loaded from the disk cache (i.e. your home page on a new browser session). It's counter intuitiv…

This StackOverflow answer, "Numbers everyone should know", seems relevant here: http://serverfault.com/a/238534
Post reply on HN