cache paths and cache UL and move metrics

I have large 9000 file drupal installation running in small vagrant box,  I have to cache the directory scan to make this usable.  Also cached UL.   and moved the count metrics to the top of the big UL.

There is a long iteration after that that is probably in javascript?