[inspector] Fix bug where inspector caches were not being cleared on win...

This fixes a pretty subtle bug, where the inspector doesn't reset it's caches when the page reloads. The effect, is that the inspector has many views with a view cid `view1`. When I found this bug, the `viewCollection` had 1776 views w/ 444 unique ids or something like that.