add cache to connections