Thread:Project:Support desk/Suggestion: Cloudflare 404 pages on non existing articles

Would it be possible to create something that'll tell Cloudflare to do not show the 404 page on article pages that have not been created yet?

Something that reduce the usage of this code: $wgSend404Code = false;

https://phabricator.wikimedia.org/T97243