Renamed NS to Authorities and Extra to Additional
Separated cache miss logic into its own function

Also added helper function to cache