-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Low
-
None
-
Affects Version/s: 9.2.15, 9.2.20
-
Component/s: Macros - Other Macros
-
None
-
Severity 3 - Minor
Issue Summary
The issue arises when a large chunk of text (approximately 1.1MB+) is inserted into a code block.
The syntax highlighting feature, which highlights reserved words based on the selected language, significantly slows down the page rendering process.
Steps to Reproduce
- Create a new page
- Add a new Code Block
- Insert a large block of JSON text (1.1MB+) into the code block
- Publish the page
Expected Results
The page should load and render quickly.
Actual Results
The page loads reasonably quickly. However, when scrolling down to the code block, the code block is only partially rendered/frozen.
It takes a further 60s -> 300s to completely render the code block.
Workaround
Update the code block and change the syntax highlighting to use Plain Text. The page load/code block will render instantly.