Board logo

Facebook increases page load times
scudderfish - 8/11/10 at 07:02 PM

Just watching the pages load in developer tools in Chrome, and it looks like the script references to Facebook are having a detrimental effect on the load times for pages (I just saw +10 seconds for all the FB references to be resolved and loaded). Given that the raw viewthread.php page ran in about 300ms, this is quite a hit.


tomgregory2000 - 8/11/10 at 07:04 PM

It doesn't for me, quick as usual


ahunt - 8/11/10 at 07:08 PM

If im on facebook and itunes at the same time. Itunes skips when stuff loads on facebook. its really annoying!............ probably about time i upgraded my pc...


eddie99 - 8/11/10 at 07:08 PM

Still quick for me, i haven't noticed any difference!


scudderfish - 8/11/10 at 07:15 PM

OK, consider this. today.php comes in at a total of 116Kb of docs, and 23kb of scripts and has nothing to do with FB. The 27 post thread about FB is 401Kb of documents, 976Kb of style sheets, and 4.5Mb(!!) of javascript pulled in because of FB.


stevebubs - 8/11/10 at 07:31 PM

[pedant] Scudder, it's KB and MB not Kb and Mb[/pedant]

1MB = 8Mb


T66 - 8/11/10 at 07:34 PM

No difference here ...


chrisxr2 - 8/11/10 at 08:41 PM

definately noticed a slowdown, was painfully slow the other day.


will121 - 8/11/10 at 08:55 PM

i dont know about all the IT stuff but seems to still load up in less than half a second and as quick as other forums im looking at


ChrisW - 8/11/10 at 09:11 PM

The 'facebook thing' loads in an IFRAME. Therefore, by nature, the thread page will load (and you can start reading) in the same time. It may take a second or two more for the facebook icons to appear as you continue to read, but if you're one of the people moaning about it you won't want to use them anyway, so that doesn't matter, surely?

Chris


twybrow - 8/11/10 at 09:42 PM

It's messed with the formatting of the page too...


scudderfish - 8/11/10 at 10:25 PM

quote:
Originally posted by ChrisW
The 'facebook thing' loads in an IFRAME. Therefore, by nature, the thread page will load (and you can start reading) in the same time. It may take a second or two more for the facebook icons to appear as you continue to read, but if you're one of the people moaning about it you won't want to use them anyway, so that doesn't matter, surely?

Chris


I wish it were that simple. Yes in single short threads it tends to get lost in the general noise of avatars and inline images. I used to read LCB by loading up the today.php page, loading 10 or so threads in tabs off that page and then reading them. What I notice now is that I can't quickly fire up the set of tabs as the browser is beginning to choke on all the extra JS and CSS processing it is doing on each tab. 4.5MB of non-cached javascript is a big bundle to swallow per tab. 1MB of CSS processing is significant. I'm reporting an observation. Others may not see the same problem as they potentially have a different usage pattern/better hardware/better bandwidth. I was just surprised that what was once snappy to use now brings Chrome to its knees. I don't regularly visit any other website with that claim to fame.
IFRAMEs work well if you are I/O bound, but I think the amount of JS and CSS is causing my browser to be CPU bound, and that is only going to get worse with the current implementation as the LCB threads get longer. FB integration is causing 10x the data to be processed that was processed before (401KB vs >5MB).

Regards,
Dave


scudderfish - 8/11/10 at 10:28 PM

It looks like the JS is now being cached, so that's a bit better


Bumble - 8/11/10 at 10:59 PM

It's now giving me issues at work with the internet Police and for that I'm not happy!!


scudderfish - 10/11/10 at 01:55 PM

And now it's moved to the top of the page and isn't on every post (I view threads with up to 100 posts per page). Thanks Chris, this is much better

Regards,
Dave