Topic on Extension talk:SyntaxHighlight

Does not scale for pages with many code blocks

2
Aschroet (talkcontribs)

We have a page with lots of (~500) <syntaxhighlight> blocks. Since the code block rendering command pygmentize is call for each block separetely the rendering of the wiki page ends up with very poor performance (2 minutes). This specially breaks the VE and general user experience when a page is previewed or saved.

Is there possibility to improve the performance in this case or do we have just a not described usecase with so many code blocks?

Aschroet (talkcontribs)
Reply to "Does not scale for pages with many code blocks"