Uploaded image for project: 'Confluence Cloud'
  1. Confluence Cloud
  2. CONFCLOUD-73250

Increased latency for EXPORT_VIEW content bodies

    XMLWordPrintable

Details

    Description

      Issue Summary

      When expanding content body, we noticed that body.export_view is significantly slower than body.view even though the output is very similar. Due to this body.export_view expands are causing timeouts.

      Steps to Reproduce

      1. Use Get content descendants by type API 
      2. Select page id which has a good amount of child pages. 
      3. Add expansions - body.export_view.webresource.tags.all, body.export_view.webresource.superbatch.tags.all,metadata.labels,ancestors

      Example:

      <HOST>/wiki/rest/api/content/<PAGE_ID>/descendant/page?limit=200&expand=body.export_view.webresource.tags.all%2Cbody.export_view.webresource.superbatch.tags.all%2Cancestors&start=0

      Expected Results

      Expected 200 response

      Actual Results

      the document fails to load 

      Workaround

      Try to use body.view expansions and try to call API with a smaller limit (Query param `limit`), Try with limit=50. 

      Attachments

        Activity

          People

            jramos@atlassian.com Josh Ramos
            f54a958651ab Dhiral Pandya
            Votes:
            3 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: