Friday, August 17, 2007

Surfin’ Safari - Blog Archive � Optimizing Page Load Time (and a little about the Debug menu)

Surfin’ Safari - Blog Archive � Optimizing Page Load Time (and a little about the Debug menu): "Another tip you might find handy as a web developer is the “Show Page Load Test Window” option in the Safari Debug menu. You can turn on the Debug menu by typing defaults write com.apple.Safari IncludeDebugMenu YES at a shell prompt, and then restarting Safari. This menu includes a number of rough debugging tools that we created mainly for browser testing, but you may find some of them handy for web development. The page load test in particular is interesting because it measures page load time in a more precise way than either onload timing or just using a stopwatch. If you change the “Suite” pop-up menu to “URL”, you can type the URL of your choice and get a fairly precise time for loading it. If you empty the cache first, you can get an uncached time."