views:

361

answers:

3

We have a fairly large asp.net website. The images, css and javascripts are property organized in the website project but as we are changing the look and feel of the website, I would like to know if there is a tool/add-in that will help me identify which images are not being used in the website. I would like to find the same thing with css and javascript as well. I have looked at dustme firefox extension but that only does css.

Thanks in advance.

A: 

In Ruby On Rails world we have: http://asciicasts.com/episodes/180-finding-unused-css Just try to find similar solution in your framework or technology.

luacassus
+1  A: 

One possible approach would be to use your browsers save-for-offline functionality and do an entire download of the site and all its resources to a local folder. Then run a little perl script that will slurp up all the *.{jpg,png,gif...etc} then do a diff on the list when you run it from your project source directory.

Obviously there are some limitations to this approach but if its all you have it might be a good start!

Harley Green
A: 

Run the Web site in Chrome and you can use its developer tool to check

Sri Kumar