WebPagetest Forums
tracking payload size of third party content - Printable Version

+- WebPagetest Forums (https://www.webpagetest.org/forums)
+-- Forum: Web Performance (/forumdisplay.php?fid=3)
+--- Forum: Optimization Discussions (/forumdisplay.php?fid=5)
+--- Thread: tracking payload size of third party content (/showthread.php?tid=194)



tracking payload size of third party content - calumfodder - 04-01-2010 01:26 AM

Is there a way to track the size of payload that 3rd parties such as adservers are adding to your site, or rather the end users perception of your site as it is delivered straight to the browser (in most cases), via some nifty javascript?
Utilising a tool such as webpagetest.org to monitor/test a site requires an element of luck to catch an offending ad or intermittent large file.


RE: tracking payload size of third party content - pmeenan - 04-01-2010 01:40 AM

You can track timings for elements or pages (particularly easy if the ad is in an iFrame) but I'm not aware of any way to track the size of things delivered on the wire from javascript.


RE: tracking payload size of third party content - calumfodder - 04-01-2010 04:48 AM

I feared as much. I think there is a filesize attribute in ie that you can call from javascript...but that seems to be more for local files rather that finding the size in bytes of the document and its elements that has just come down the wire.

thanks anyway


RE: tracking payload size of third party content - pmeenan - 04-01-2010 09:10 AM

You might be able to interface with Firebug and get info from anyone that has it installed (or more likely, has it active) but that would only get a TINY part of your customer base Sad