Using Visual Editor on articles heavy using extension results in many parsefragment API calls.
I use VisualEditor in conjunction with mediawiki's default SyntaxHighlight extension, which overloads my PHP API handler on programming related articles.
Computer programming articles, such as https://en.wikipedia.org/wiki/JavaScript_syntax, can include hundreds of syntaxhighlight code blocks.
On PHP-FPM run wikis, a page like this would result in a single user query creating ~100 child processes.
Is there a way to reduce or batch said queries?