implements the proxy for edge publish mode