Skip to content
GitLab
Next
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • GitLab GitLab
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 44,761
    • Issues 44,761
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1,332
    • Merge requests 1,332
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Metrics
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GitLab.orgGitLab.org
  • GitLabGitLab
  • Issues
  • #336792
Closed
Open
Issue created Jul 23, 2021 by Eric Schurter@ericschurterDeveloper0 of 6 checklist items completed0/6 checklist items

Handle rendering very large Markdown files better in the Wiki

Release notes

Problem to solve

As outlined in #276401 (closed), very large (~2.5 MB, ~11,000 lines) Markdown files can take a painfully long time to render in the Wiki. These files sometimes fail to load entirely, resulting in a 500 or 502 error.

The root of the problem is in the performance of the backend Banzai pipeline, the process used by the Wiki to render the Markdown for display. However, optimizations there will likely be complex and have diminishing returns for edge cases such as these. Still, it's not acceptable to wait 30+ seconds for a page to load.

Proposal

Asynchronously load the Markdown content on the wiki page. Load the GitLab common UI first, followed by the wiki sidebar, then show the rendered Markdown content.

A loading state for the rendered Markdown content should indicate that something is happening.

Edited Sep 14, 2021 by Eric Schurter
Assignee
Assign to
Time tracking