I know cURL can get the total download size of a page, but I am looking to divide the download size into the total images downloaded, total script size downloaded, total stylesheet size download etc etc.
What is the general way of going about doing this... I have found this link PHP: Remote file size without downloading file
and I am thinking it has something to do with doing a for loop and curl to get the size of each file pulled in by the inital curl request.
Let me know if anyone has any tips!
Thanks