Adding cache init to proxy's main