Have over 100 Style Sheets on a large website maintained by many people, how can I tell if all of the style sheets are still being used by pages on my site?
Asked
Active
Viewed 112 times
2
-
Sounds like you'd need to parse the server logs. – j08691 Jun 20 '14 at 17:13
-
You can use https://addons.mozilla.org/en-US/firefox/addon/css-usage/ – Ali Gajani Jun 20 '14 at 17:13
1 Answers
0
You could use one off tools to get the list of styles that are not being used from this post.
Then you would need to write css file class reader (or regex) that would take that list of unused styles and check each css file.
If all styles in some file would have a match in unused list - add file name to list of unused css files.

Community
- 1
- 1

Matas Vaitkevicius
- 58,075
- 31
- 238
- 265
-
So if my site has 1000 pages I need to check each one individually? Come on, we can do better than that, can't we? – RyanfaeScotland Jun 26 '15 at 10:36