tags:

views:

29

answers:

1

I'm working on a website that currently has the same block of external JavaScript references on each page (added via a master page). I'd like to go through the site and identify which script files are actually necessary for each specific page to improve performance. Problem is there are a lot of pages and I'm not sure how to do it without resorting to manual trial and error process.

Is there a Firefox plug-in or some other tool that will identify which JavaScript references could actually be called by the page and which are not necessary?

+1  A: 

you can use firebug plus his plugin for javascript code coverage: http://getfirebug.com/extensions/index.html#firebugcodecoverage

gpilotino
Looks like it would work but unfortunately doesn't support FF3.5.3
joshb