Anatomy of a Web Page
Safari’s Activity window displays all the component files downloaded for a particular web page. Each item is clickable, making it easy to view stylesheets, images and scripts associated to a particular site. It also makes it easy to calculate a pages size in kilobytes, useful if you’re planning on entering the 5k competition.
In Safari, go to Window > Activity