Reduce time to render pages with thousands of code blocks #3643
Labels
change request
Issue requests a new feature or improvement
resolved
Issue is resolved, yet unreleased if open
Contribution guidelines
I've found a bug and checked that ...
mkdocs
orreadthedocs
themescustom_dir
,extra_javascript
andextra_css
Description
As outlined and demoed here, large topics can take a long time to render, up to 30 seconds, which makes them unusable. This only occurs when using the Material template.
@squidfunk has already looked at it, and it is most probably caused by the large amount of code blocks used in the sample topic. Other templates have less sophisticated handling of code blocks, which is why the issue doesn't occur when using other templates.
Expected behaviour
Pages should render fast in all browsers, regardless of the template used.
Actual behaviour
See description.
Steps to reproduce
See sample project linked in the description.
Package versions
Configuration
See sample project linked in the description.
System information
The text was updated successfully, but these errors were encountered: