new version
with the latest merge
show average & median values for cache time & time since last modification
cleanup
the new functions