At the moment, we don't support rewriting the public files base URLs thus requiring us to do AGCDN restarts for referenced assets as a workaround.
As a proposal, we consider also setting the file_public_base_url to append the subpath to the defined public_base_url:
$settings['file_public_base_url'] = "${proto}://${forwardedHost}${subpath}/sites/default/files"
At the moment, we don't support rewriting the public files base URLs thus requiring us to do AGCDN restarts for referenced assets as a workaround.
As a proposal, we consider also setting the file_public_base_url to append the subpath to the defined public_base_url:
$settings['file_public_base_url'] = "${proto}://${forwardedHost}${subpath}/sites/default/files"