mark Cache::getKeyPath() as private
clean up html indentation only in DEBUG mode
fix my previous commit, it was not the latest version