Fixing the strategy for naming connection on caching