move http-cache to dependency for proper testability