Implement "export_view_async" content Representation to prevent rendering timeouts in vendor apps

XMLWordPrintable

      Current Behavior: Confluence exposes a content body conversion endpoint in the public REST API. This is used by Dynamic Connect Macros that have nested content. But because the Connect JS API is broken, some vendors are relying on the export_view conversion type for rendering their macro content on the view page.
      Some are using export_view legitimately for export use cases, such as PDF export.

      However, export_view renders all macros synchronously, as it needs to display the full complete content. This is time-consuming and often leads to timeouts. These HTTP long-running threads can also lead to thread pool depletion and can cause tenant/shard instability.

      Expected:
      To fix these issues, we should expose a new ContentRepresentation called EXPORT_VIEW_ASYNC. This should render content asynchronously/lazily. This conversion type can be then used by the vendor apps for rendering their macro content on the view page.

              Assignee:
              Emile Givental
              Reporter:
              Jagriti - (Atlassian)
              Votes:
              1 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: