cache functions merged with aliases functions, big cache connection update